File: JsonTempDataSerializerContext.GetJsonTypeInfo.g.cs
Project: src\src\Components\Endpoints\src\Microsoft.AspNetCore.Components.Endpoints.csproj (Microsoft.AspNetCore.Components.Endpoints)
// <auto-generated/>
 
#nullable enable annotations
#nullable disable warnings
 
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0612, CS0618
 
namespace Microsoft.AspNetCore.Components.Endpoints
{
    internal sealed partial class JsonTempDataSerializerContext : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
    {
        /// <inheritdoc/>
        public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type)
        {
            Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
            return typeInfo;
        }
 
        global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
        {
            if (type == typeof(bool))
            {
                return Create_Boolean(options);
            }
            if (type == typeof(bool?))
            {
                return Create_NullableBoolean(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<bool?>))
            {
                return Create_ICollectionNullableBoolean(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<bool>))
            {
                return Create_ICollectionBoolean(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<global::System.DateTime?>))
            {
                return Create_ICollectionNullableDateTime(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<global::System.DateTime>))
            {
                return Create_ICollectionDateTime(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<global::System.Guid?>))
            {
                return Create_ICollectionNullableGuid(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<global::System.Guid>))
            {
                return Create_ICollectionGuid(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<int?>))
            {
                return Create_ICollectionNullableInt32(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<int>))
            {
                return Create_ICollectionInt32(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<object>))
            {
                return Create_ICollectionObject(options);
            }
            if (type == typeof(global::System.Collections.Generic.ICollection<string>))
            {
                return Create_ICollectionString(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, bool?>))
            {
                return Create_IDictionaryStringNullableBoolean(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, bool>))
            {
                return Create_IDictionaryStringBoolean(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>))
            {
                return Create_IDictionaryStringNullableDateTime(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime>))
            {
                return Create_IDictionaryStringDateTime(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid?>))
            {
                return Create_IDictionaryStringNullableGuid(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid>))
            {
                return Create_IDictionaryStringGuid(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, int?>))
            {
                return Create_IDictionaryStringNullableInt32(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, int>))
            {
                return Create_IDictionaryStringInt32(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, object>))
            {
                return Create_IDictionaryStringObject(options);
            }
            if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
            {
                return Create_IDictionaryStringString(options);
            }
            if (type == typeof(global::System.DateTime))
            {
                return Create_DateTime(options);
            }
            if (type == typeof(global::System.DateTime?))
            {
                return Create_NullableDateTime(options);
            }
            if (type == typeof(global::System.Guid))
            {
                return Create_Guid(options);
            }
            if (type == typeof(global::System.Guid?))
            {
                return Create_NullableGuid(options);
            }
            if (type == typeof(int))
            {
                return Create_Int32(options);
            }
            if (type == typeof(int?))
            {
                return Create_NullableInt32(options);
            }
            if (type == typeof(object))
            {
                return Create_Object(options);
            }
            if (type == typeof(object[]))
            {
                return Create_ObjectArray(options);
            }
            if (type == typeof(string))
            {
                return Create_String(options);
            }
            return null;
        }
    }
}