Struct DatasetId
Stable identifier for a dataset within an IDatasetCatalog.
[JsonConverter(typeof(DatasetIdJsonConverter))]
public readonly record struct DatasetId : IEquatable<DatasetId>
- Implements
- Inherited Members
Remarks
IDs are opaque strings minted by the catalog implementation. They must be stable for the lifetime of a host session (e.g. while a viewer is running) so that tool callers can hold onto an ID across multiple invocations.
Constructors
DatasetId(string)
Creates a new DatasetId.
public DatasetId(string value)
Parameters
valuestring
Exceptions
- ArgumentException
The value is null or empty.
Properties
Value
The underlying opaque identifier value.
public string Value { get; }
Property Value
Methods
ToString()
Returns the underlying string value.
public override string ToString()