1 instantiation of ResourceSnapshotVolume
aspire (1)
BackchannelJsonSerializerContext.ResourceSnapshotVolume.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
(){ Source = (string)args[0], Target = (string)args[1], MountType = (string)args[2], IsReadOnly = (bool)args[3] },
45 references to ResourceSnapshotVolume
aspire (45)
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
202
if (type == typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
))
206
if (type == typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]))
BackchannelJsonSerializerContext.ResourceSnapshot.g.cs (5)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.ResourceSnapshot(){ Name = (string)args[0], DisplayName = (string)args[1], ResourceType = (string)args[2], Type = (string)args[3], State = (string)args[4], StateStyle = (string)args[5], HealthStatus = (string)args[6], ExitCode = (int?)args[7], CreatedAt = (global::System.DateTimeOffset?)args[8], StartedAt = (global::System.DateTimeOffset?)args[9], StoppedAt = (global::System.DateTimeOffset?)args[10], Urls = (global::Aspire.Cli.Backchannel.ResourceSnapshotUrl[])args[11], Relationships = (global::Aspire.Cli.Backchannel.ResourceSnapshotRelationship[])args[12], HealthReports = (global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[])args[13], Volumes = (global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[])args[14], EnvironmentVariables = (global::Aspire.Cli.Backchannel.ResourceSnapshotEnvironmentVariable[])args[15], Properties = (global::System.Collections.Generic.Dictionary<string, string>)args[16], McpServer = (global::Aspire.Cli.Backchannel.ResourceSnapshotMcpServer)args[17], Commands = (global::Aspire.Cli.Backchannel.ResourceSnapshotCommand[])args[18] },
340
var info14 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]>
355
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshot).GetProperty("Volumes", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]), global::System.Array.Empty<global::System.Type>(), null),
358
properties[14] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]>(options, info14);
629
ParameterType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]),
BackchannelJsonSerializerContext.ResourceSnapshotVolume.g.cs (27)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
>? _ResourceSnapshotVolume;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
> ResourceSnapshotVolume
22
get => _ResourceSnapshotVolume ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
> Create_ResourceSnapshotVolume(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
),
58
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
)obj).Source,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
).GetProperty("Source", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
76
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
),
78
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
)obj).Target,
86
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
).GetProperty("Target", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
99
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
),
101
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
)obj).MountType,
109
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
).GetProperty("MountType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
122
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
),
124
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
)obj).IsReadOnly,
132
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
).GetProperty("IsReadOnly", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
142
private void ResourceSnapshotVolumeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
? value)
152
writer.WriteString(PropName_Source, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
)value).Source);
153
writer.WriteString(PropName_Target, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
)value).Target);
154
writer.WriteString(PropName_MountType, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
)value).MountType);
155
writer.WriteBoolean(PropName_IsReadOnly, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
)value).IsReadOnly);
BackchannelJsonSerializerContext.ResourceSnapshotVolumeArray.g.cs (10)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]>? _ResourceSnapshotVolumeArray;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]> ResourceSnapshotVolumeArray
22
get => _ResourceSnapshotVolumeArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]> Create_ResourceSnapshotVolumeArray(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]>
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
>(options, info);
45
private void ResourceSnapshotVolumeArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.
ResourceSnapshotVolume
[]? value)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
650
public
ResourceSnapshotVolume
[] Volumes { get; init; } = [];