.NET API
StateSample
Namespace Tracon · Assembly
Tracon.Abstractions.dllOne sampled row, read for a decode attempt.
public sealed record StateSample : IEquatable<StateSample>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”StateSample()
Section titled “ StateSample()”public StateSample()Properties
Section titled “Properties”The row identifier — a session id, or a checkpoint’s row id.
public required string Id { get; init; }Property Value
Section titled “Property Value”MafVersion
Section titled “ MafVersion”The Microsoft Agent Framework version the row was written with, or null if it was written before version stamping existed.
public string? MafVersion { get; init; }Property Value
Section titled “Property Value”SchemaGeneration
Section titled “ SchemaGeneration”The stored Tracon schema generation, or null if never stamped.
public required int? SchemaGeneration { get; init; }Property Value
Section titled “Property Value”int?
The stored state payload, exactly as persisted.
public required JsonElement State { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(StateSample?)
Section titled “ Equals(StateSample?)”public bool Equals(StateSample? other)Parameters
Section titled “Parameters”other StateSample?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(StateSample?, StateSample?)
Section titled “ operator ==(StateSample?, StateSample?)”public static bool operator ==(StateSample? left, StateSample? right)Parameters
Section titled “Parameters”left StateSample?
right StateSample?
Returns
Section titled “Returns”operator !=(StateSample?, StateSample?)
Section titled “ operator !=(StateSample?, StateSample?)”public static bool operator !=(StateSample? left, StateSample? right)Parameters
Section titled “Parameters”left StateSample?
right StateSample?