|
// <auto-generated/>
#nullable enable annotations
#nullable disable warnings
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0612, CS0618
namespace Microsoft.DotNet.Cli.Commands.Run
{
internal partial class RunFileJsonSerializerContext : 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.DotNet.Cli.Commands.Clean.FileBasedAppArtifacts.RunFileArtifactsMetadata))
{
return Create_RunFileArtifactsMetadata(options);
}
if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel))
{
return Create_BuildLevel(options);
}
if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunFileBuildCacheEntry))
{
return Create_RunFileBuildCacheEntry(options);
}
if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties))
{
return Create_RunProperties(options);
}
if (type == typeof(global::System.Collections.Generic.Dictionary<string, string>))
{
return Create_DictionaryStringString(options);
}
if (type == typeof(global::System.Collections.Generic.HashSet<string>))
{
return Create_HashSetString(options);
}
if (type == typeof(global::System.Collections.Immutable.ImmutableArray<string>))
{
return Create_ImmutableArrayString(options);
}
if (type == typeof(global::System.DateTime))
{
return Create_DateTime(options);
}
if (type == typeof(global::System.DateTime?))
{
return Create_NullableDateTime(options);
}
if (type == typeof(string))
{
return Create_String(options);
}
return null;
}
}
}
|