File: _generated\1\InteractiveRequestOptionsSerializerContext.InteractionType.g.cs
Web Access
Project: src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj (Microsoft.AspNetCore.Components.WebAssembly.Authentication)
// <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.WebAssembly.Authentication
{
    internal partial class InteractiveRequestOptionsSerializerContext
    {
        private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType>? _InteractionType;
        
        /// <summary>
        /// Defines the source generated JSON serialization contract metadata for a given type.
        /// </summary>
        #nullable disable annotations // Marking the property type as nullable-oblivious.
        public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType> InteractionType
        #nullable enable annotations
        {
            get => _InteractionType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType));
        }
        
        private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType> Create_InteractionType(global::System.Text.Json.JsonSerializerOptions options)
        {
            if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType> jsonTypeInfo))
            {
                global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType), new global::System.Text.Json.Serialization.JsonStringEnumConverter<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType>(), options);
                jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType> (options, converter);
            }
        
            jsonTypeInfo.OriginatingResolver = this;
            return jsonTypeInfo;
        }
    }
}