| File: _generated\8\GlobalSettingsJsonSerializerContext.GetJsonTypeInfo.g.cs | Web Access |
| Project: src\sdk\src\TemplateEngine\Microsoft.TemplateEngine.Edge\Microsoft.TemplateEngine.Edge.csproj (Microsoft.TemplateEngine.Edge) |
// <auto-generated/> #nullable enable annotations #nullable disable warnings // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 namespace Microsoft.TemplateEngine.Edge.BuiltInManagedProvider { internal partial class GlobalSettingsJsonSerializerContext : 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(global::Microsoft.TemplateEngine.Abstractions.Installer.TemplatePackageData)) { return Create_TemplatePackageData(options); } if (type == typeof(global::Microsoft.TemplateEngine.Edge.BuiltInManagedProvider.GlobalSettingsData)) { return Create_GlobalSettingsData(options); } if (type == typeof(global::System.Collections.Generic.IReadOnlyDictionary<string, string>)) { return Create_IReadOnlyDictionaryStringString(options); } if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.TemplateEngine.Abstractions.Installer.TemplatePackageData>)) { return Create_IReadOnlyListTemplatePackageData(options); } if (type == typeof(global::System.DateTime)) { return Create_DateTime(options); } if (type == typeof(global::System.Guid)) { return Create_Guid(options); } if (type == typeof(string)) { return Create_String(options); } return null; } } }