|
// <auto-generated/>
#nullable enable annotations
#nullable disable warnings
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0612, CS0618
namespace Microsoft.ML.Tokenizers
{
internal partial class ModelSourceGenerationContext
{
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey>? _StringSpanOrdinalKey;
/// <summary>
/// Defines the source generated JSON serialization contract metadata for a given type.
/// </summary>
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey> StringSpanOrdinalKey
{
get => _StringSpanOrdinalKey ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey>)Options.GetTypeInfo(typeof(global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey));
}
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey> Create_StringSpanOrdinalKey(global::System.Text.Json.JsonSerializerOptions options)
{
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey> jsonTypeInfo))
{
global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey), new global::Microsoft.ML.Tokenizers.StringSpanOrdinalKeyConverter(), options);
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey> (options, converter);
}
jsonTypeInfo.OriginatingResolver = this;
return jsonTypeInfo;
}
}
}
|