namespace AIStudio.Assistants.Dynamic;
public sealed class FileContentState
{
public string Content { get; set; } = string.Empty;
///
/// Creates a copy which shares nothing with this state.
///
/// The copy.
public FileContentState Copy() => new() { Content = this.Content };
///
/// Tells whether another state holds the same content as this one.
///
/// The state to compare with.
/// true when both states hold the same content; otherwise, false.
public bool HasSameInputsAs(FileContentState other) => string.Equals(this.Content, other.Content, StringComparison.Ordinal);
}