namespace AIStudio.Tools.AssistantSessions;
///
/// Provides a typed value stored in an assistant session snapshot.
///
public interface IAssistantSessionSnapshotField
{
///
/// Gets the type used when the value was captured.
///
Type ValueType { get; }
///
/// Tries to read the captured value as the requested type.
///
/// The requested value type.
/// The typed value when reading succeeds.
/// true when the captured value matches ; otherwise, false.
bool TryRead(out T? value);
}