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