File: ModelSourceGenerationContext.DictionaryStringSpanOrdinalKeyInt32.g.cs
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::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>>? _DictionaryStringSpanOrdinalKeyInt32;
        
        /// <summary>
        /// Defines the source generated JSON serialization contract metadata for a given type.
        /// </summary>
        public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>> DictionaryStringSpanOrdinalKeyInt32
        {
            get => _DictionaryStringSpanOrdinalKeyInt32 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>));
        }
        
        private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>> Create_DictionaryStringSpanOrdinalKeyInt32(global::System.Text.Json.JsonSerializerOptions options)
        {
            if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>> jsonTypeInfo))
            {
                var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>>
                {
                    ObjectCreator = () => new global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>(),
                    SerializeHandler = null
                };
                
                jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>, global::Microsoft.ML.Tokenizers.StringSpanOrdinalKey, int>(options, info);
                jsonTypeInfo.NumberHandling = null;
            }
        
            jsonTypeInfo.OriginatingResolver = this;
            return jsonTypeInfo;
        }
    }
}