| File: ModelSourceGenerationContext.Vocabulary.g.cs | Web Access |
| Project: src\src\Microsoft.ML.Tokenizers\Microsoft.ML.Tokenizers.csproj (Microsoft.ML.Tokenizers) |
// <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.Vocabulary>? _Vocabulary; /// <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.Vocabulary> Vocabulary { get => _Vocabulary ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.ML.Tokenizers.Vocabulary>)Options.GetTypeInfo(typeof(global::Microsoft.ML.Tokenizers.Vocabulary)); } private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.ML.Tokenizers.Vocabulary> Create_Vocabulary(global::System.Text.Json.JsonSerializerOptions options) { if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.ML.Tokenizers.Vocabulary>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.ML.Tokenizers.Vocabulary> jsonTypeInfo)) { global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.ML.Tokenizers.Vocabulary), new global::Microsoft.ML.Tokenizers.VocabularyConverter(), options); jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.ML.Tokenizers.Vocabulary> (options, converter); } jsonTypeInfo.OriginatingResolver = this; return jsonTypeInfo; } } }