|
// <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.StaticWebAssets.Tasks
{
public partial class StaticWebAssetsJsonSerializerContext : 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.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetMatch))
{
return Create_StaticWebAssetMatch(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetNode))
{
return Create_StaticWebAssetNode(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetPattern))
{
return Create_StaticWebAssetPattern(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetPattern[]))
{
return Create_StaticWebAssetPatternArray(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetsDevelopmentManifest))
{
return Create_StaticWebAssetsDevelopmentManifest(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset))
{
return Create_StaticWebAsset(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset[]))
{
return Create_StaticWebAssetArray(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpoint))
{
return Create_StaticWebAssetEndpoint(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpoint[]))
{
return Create_StaticWebAssetEndpointArray(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointProperty))
{
return Create_StaticWebAssetEndpointProperty(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointProperty[]))
{
return Create_StaticWebAssetEndpointPropertyArray(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader))
{
return Create_StaticWebAssetEndpointResponseHeader(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointResponseHeader[]))
{
return Create_StaticWebAssetEndpointResponseHeaderArray(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointSelector))
{
return Create_StaticWebAssetEndpointSelector(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointSelector[]))
{
return Create_StaticWebAssetEndpointSelectorArray(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetEndpointsManifest))
{
return Create_StaticWebAssetEndpointsManifest(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetPackageManifest))
{
return Create_StaticWebAssetPackageManifest(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetsDiscoveryPattern))
{
return Create_StaticWebAssetsDiscoveryPattern(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetsDiscoveryPattern[]))
{
return Create_StaticWebAssetsDiscoveryPatternArray(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetsManifest))
{
return Create_StaticWebAssetsManifest(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetsManifest.ReferencedProjectConfiguration))
{
return Create_ReferencedProjectConfiguration(options);
}
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAssetsManifest.ReferencedProjectConfiguration[]))
{
return Create_ReferencedProjectConfigurationArray(options);
}
if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetNode>))
{
return Create_DictionaryStringStaticWebAssetNode(options);
}
if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset>))
{
return Create_DictionaryStringStaticWebAsset(options);
}
if (type == typeof(global::System.DateTimeOffset))
{
return Create_DateTimeOffset(options);
}
if (type == typeof(int))
{
return Create_Int32(options);
}
if (type == typeof(long))
{
return Create_Int64(options);
}
if (type == typeof(string))
{
return Create_String(options);
}
if (type == typeof(string[]))
{
return Create_StringArray(options);
}
return null;
}
}
}
|