|
// <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 DefineStaticWebAssets
{
internal partial class DefineStaticWebAssetsSerializerContext
{
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset>? _StaticWebAsset;
/// <summary>
/// Defines the source generated JSON serialization contract metadata for a given type.
/// </summary>
#nullable disable annotations // Marking the property type as nullable-oblivious.
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset> StaticWebAsset
#nullable enable annotations
{
get => _StaticWebAsset ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset));
}
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset> Create_StaticWebAsset(global::System.Text.Json.JsonSerializerOptions options)
{
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset> jsonTypeInfo))
{
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset>
{
ObjectCreator = () => new global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset(),
ObjectWithParameterizedConstructorCreator = null,
PropertyMetadataInitializer = _ => StaticWebAssetPropInit(options),
ConstructorParameterMetadataInitializer = null,
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
SerializeHandler = StaticWebAssetSerializeHandler,
};
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset>(options, objectInfo);
jsonTypeInfo.NumberHandling = null;
}
jsonTypeInfo.OriginatingResolver = this;
return jsonTypeInfo;
}
private static global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[] StaticWebAssetPropInit(global::System.Text.Json.JsonSerializerOptions options)
{
var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[22];
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).Identity,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).Identity = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "Identity",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("Identity", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info0);
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).SourceId,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).SourceId = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "SourceId",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("SourceId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info1);
var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).SourceType,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).SourceType = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "SourceType",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("SourceType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info2);
var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).ContentRoot,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).ContentRoot = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "ContentRoot",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("ContentRoot", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info3);
var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).BasePath,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).BasePath = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "BasePath",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("BasePath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info4);
var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).RelativePath,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).RelativePath = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "RelativePath",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("RelativePath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info5);
var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetKind,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetKind = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "AssetKind",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("AssetKind", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info6);
var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetMode,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetMode = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "AssetMode",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("AssetMode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info7);
var info8 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetRole,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetRole = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "AssetRole",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("AssetRole", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[8] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info8);
var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetMergeBehavior,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetMergeBehavior = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "AssetMergeBehavior",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("AssetMergeBehavior", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info9);
var info10 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetMergeSource,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetMergeSource = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "AssetMergeSource",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("AssetMergeSource", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[10] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info10);
var info11 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).RelatedAsset,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).RelatedAsset = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "RelatedAsset",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("RelatedAsset", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[11] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info11);
var info12 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetTraitName,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetTraitName = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "AssetTraitName",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("AssetTraitName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[12] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info12);
var info13 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetTraitValue,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetTraitValue = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "AssetTraitValue",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("AssetTraitValue", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[13] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info13);
var info14 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetGroups,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).AssetGroups = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "AssetGroups",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("AssetGroups", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[14] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info14);
var info15 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).Fingerprint,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).Fingerprint = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "Fingerprint",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("Fingerprint", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[15] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info15);
var info16 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).Integrity,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).Integrity = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "Integrity",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("Integrity", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[16] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info16);
var info17 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).CopyToOutputDirectory,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).CopyToOutputDirectory = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "CopyToOutputDirectory",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("CopyToOutputDirectory", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[17] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info17);
var info18 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).CopyToPublishDirectory,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).CopyToPublishDirectory = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "CopyToPublishDirectory",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("CopyToPublishDirectory", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[18] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info18);
var info19 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).OriginalItemSpec,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).OriginalItemSpec = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "OriginalItemSpec",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("OriginalItemSpec", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
};
properties[19] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info19);
var info20 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<long>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).FileLength,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).FileLength = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "FileLength",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("FileLength", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
};
properties[20] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<long>(options, info20);
var info21 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.DateTimeOffset>
{
IsProperty = true,
IsPublic = true,
IsVirtual = false,
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset),
Converter = null,
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).LastWriteTime,
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).LastWriteTime = value!,
IgnoreCondition = null,
HasJsonInclude = false,
IsExtensionData = false,
NumberHandling = null,
PropertyName = "LastWriteTime",
JsonPropertyName = null,
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset).GetProperty("LastWriteTime", InstanceMemberBindingFlags, null, typeof(global::System.DateTimeOffset), global::System.Array.Empty<global::System.Type>(), null),
};
properties[21] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.DateTimeOffset>(options, info21);
return properties;
}
// Intentionally not a static method because we create a delegate to it. Invoking delegates to instance
// methods is almost as fast as virtual calls. Static methods need to go through a shuffle thunk.
private void StaticWebAssetSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset? value)
{
if (value is null)
{
writer.WriteNullValue();
return;
}
writer.WriteStartObject();
writer.WriteString(PropName_Identity, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).Identity);
writer.WriteString(PropName_SourceId, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).SourceId);
writer.WriteString(PropName_SourceType, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).SourceType);
writer.WriteString(PropName_ContentRoot, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).ContentRoot);
writer.WriteString(PropName_BasePath, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).BasePath);
writer.WriteString(PropName_RelativePath, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).RelativePath);
writer.WriteString(PropName_AssetKind, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).AssetKind);
writer.WriteString(PropName_AssetMode, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).AssetMode);
writer.WriteString(PropName_AssetRole, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).AssetRole);
writer.WriteString(PropName_AssetMergeBehavior, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).AssetMergeBehavior);
writer.WriteString(PropName_AssetMergeSource, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).AssetMergeSource);
writer.WriteString(PropName_RelatedAsset, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).RelatedAsset);
writer.WriteString(PropName_AssetTraitName, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).AssetTraitName);
writer.WriteString(PropName_AssetTraitValue, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).AssetTraitValue);
writer.WriteString(PropName_AssetGroups, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).AssetGroups);
writer.WriteString(PropName_Fingerprint, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).Fingerprint);
writer.WriteString(PropName_Integrity, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).Integrity);
writer.WriteString(PropName_CopyToOutputDirectory, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).CopyToOutputDirectory);
writer.WriteString(PropName_CopyToPublishDirectory, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).CopyToPublishDirectory);
writer.WriteString(PropName_OriginalItemSpec, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).OriginalItemSpec);
writer.WriteNumber(PropName_FileLength, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).FileLength);
writer.WriteString(PropName_LastWriteTime, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).LastWriteTime);
writer.WriteEndObject();
}
}
}
}
|