2 instantiations of OptionsRecord
Microsoft.AspNetCore.Components.WebAssembly.Authentication (2)
_generated\3\InteractiveRequestOptionsSerializerContext.OptionsRecord.g.cs (1)
31ObjectCreator = () => new global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord(),
Models\InteractiveRequestOptions.cs (1)
114new OptionsRecord(value.ReturnUrl, value.Scopes, value.Interaction, value.AdditionalRequestParameters),
38 references to OptionsRecord
Microsoft.AspNetCore.Components.WebAssembly.Authentication (38)
_generated\10\InteractiveRequestOptionsSerializerContext.GetJsonTypeInfo.g.cs (1)
30if (type == typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord))
_generated\3\InteractiveRequestOptionsSerializerContext.OptionsRecord.g.cs (35)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord>? _OptionsRecord; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord> OptionsRecord 22get => _OptionsRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord> Create_OptionsRecord(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord), 60Getter = static obj => ((global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)obj).ReturnUrl, 61Setter = static (obj, value) => __set_OptionsRecord_ReturnUrl(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord>(obj), value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord).GetProperty("ReturnUrl", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 80DeclaringType = typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord), 82Getter = static obj => ((global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)obj).Scopes, 83Setter = static (obj, value) => __set_OptionsRecord_Scopes(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord>(obj), value!), 90AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord).GetProperty("Scopes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<string>), global::System.Array.Empty<global::System.Type>(), null), 102DeclaringType = typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord), 104Getter = static obj => ((global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)obj).Interaction, 105Setter = static (obj, value) => __set_OptionsRecord_Interaction(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord>(obj), value!), 112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord).GetProperty("Interaction", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType), global::System.Array.Empty<global::System.Type>(), null), 122DeclaringType = typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord), 124Getter = static obj => ((global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)obj).AdditionalRequestParameters, 125Setter = static (obj, value) => __set_OptionsRecord_AdditionalRequestParameters(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord>(obj), value!), 132AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord).GetProperty("AdditionalRequestParameters", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 142private void OptionsRecordSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord value) 146writer.WriteString(PropName_returnUrl, ((global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)value).ReturnUrl); 148IEnumerableStringSerializeHandler(writer, ((global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)value).Scopes); 150global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)value).Interaction, InteractionType); 152global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord)value).AdditionalRequestParameters, DictionaryStringObject); 158private static extern void __set_OptionsRecord_ReturnUrl(ref global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord obj, string value); 160private static extern void __set_OptionsRecord_Scopes(ref global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord obj, global::System.Collections.Generic.IEnumerable<string> value); 162private static extern void __set_OptionsRecord_Interaction(ref global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord obj, global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType value); 164private static extern void __set_OptionsRecord_AdditionalRequestParameters(ref global::Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions.Converter.OptionsRecord obj, global::System.Collections.Generic.Dictionary<string, object> value);
Models\InteractiveRequestOptions.cs (2)
99var requestOptions = JsonSerializer.Deserialize(ref reader, InteractiveRequestOptionsSerializerContext.Default.OptionsRecord); 149[JsonSerializable(typeof(InteractiveRequestOptions.Converter.OptionsRecord))]