1 instantiation of CommandSpec
aspire (1)
BackchannelJsonSerializerContext.CommandSpec.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Hosting.Ats.
CommandSpec
(){ Command = (string)args[0], Args = (string[])args[1], EnvironmentVariables = (global::System.Collections.Generic.Dictionary<string, string>)args[2] },
52 references to CommandSpec
aspire (52)
Backchannel\BackchannelJsonSerializerContext.cs (1)
17
[JsonSerializable(typeof(
CommandSpec
))]
BackchannelJsonSerializerContext.CommandSpec.g.cs (23)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.Ats.
CommandSpec
>? _CommandSpec;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.Ats.
CommandSpec
> CommandSpec
22
get => _CommandSpec ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.Ats.
CommandSpec
>)Options.GetTypeInfo(typeof(global::Aspire.Hosting.Ats.
CommandSpec
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.Ats.
CommandSpec
> Create_CommandSpec(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Hosting.Ats.
CommandSpec
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.Ats.
CommandSpec
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Hosting.Ats.
CommandSpec
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Hosting.Ats.
CommandSpec
).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.Hosting.Ats.
CommandSpec
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Hosting.Ats.
CommandSpec
),
58
Getter = static obj => ((global::Aspire.Hosting.Ats.
CommandSpec
)obj).Command,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.Ats.
CommandSpec
).GetProperty("Command", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Aspire.Hosting.Ats.
CommandSpec
),
81
Getter = static obj => ((global::Aspire.Hosting.Ats.
CommandSpec
)obj).Args,
89
AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.Ats.
CommandSpec
).GetProperty("Args", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null),
102
DeclaringType = typeof(global::Aspire.Hosting.Ats.
CommandSpec
),
104
Getter = static obj => ((global::Aspire.Hosting.Ats.
CommandSpec
)obj).EnvironmentVariables,
112
AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.Ats.
CommandSpec
).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
122
private void CommandSpecSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Hosting.Ats.
CommandSpec
? value)
132
writer.WriteString(PropName_Command, ((global::Aspire.Hosting.Ats.
CommandSpec
)value).Command);
134
StringArraySerializeHandler(writer, ((global::Aspire.Hosting.Ats.
CommandSpec
)value).Args);
136
DictionaryStringStringSerializeHandler(writer, ((global::Aspire.Hosting.Ats.
CommandSpec
)value).EnvironmentVariables);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
98
if (type == typeof(global::Aspire.Hosting.Ats.
CommandSpec
))
BackchannelJsonSerializerContext.RuntimeSpec.g.cs (20)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Hosting.Ats.RuntimeSpec(){ Language = (string)args[0], DisplayName = (string)args[1], CodeGenLanguage = (string)args[2], DetectionPatterns = (string[])args[3], InstallDependencies = (global::Aspire.Hosting.Ats.
CommandSpec
)args[4], Execute = (global::Aspire.Hosting.Ats.
CommandSpec
)args[5], WatchExecute = (global::Aspire.Hosting.Ats.
CommandSpec
)args[6], PublishExecute = (global::Aspire.Hosting.Ats.
CommandSpec
)args[7] },
143
var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Hosting.Ats.
CommandSpec
>
158
AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.Ats.RuntimeSpec).GetProperty("InstallDependencies", InstanceMemberBindingFlags, null, typeof(global::Aspire.Hosting.Ats.
CommandSpec
), global::System.Array.Empty<global::System.Type>(), null),
161
properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Hosting.Ats.
CommandSpec
>(options, info4);
163
var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Hosting.Ats.
CommandSpec
>
178
AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.Ats.RuntimeSpec).GetProperty("Execute", InstanceMemberBindingFlags, null, typeof(global::Aspire.Hosting.Ats.
CommandSpec
), global::System.Array.Empty<global::System.Type>(), null),
181
properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Hosting.Ats.
CommandSpec
>(options, info5);
186
var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Hosting.Ats.
CommandSpec
>
201
AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.Ats.RuntimeSpec).GetProperty("WatchExecute", InstanceMemberBindingFlags, null, typeof(global::Aspire.Hosting.Ats.
CommandSpec
), global::System.Array.Empty<global::System.Type>(), null),
204
properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Hosting.Ats.
CommandSpec
>(options, info6);
206
var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Hosting.Ats.
CommandSpec
>
221
AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.Ats.RuntimeSpec).GetProperty("PublishExecute", InstanceMemberBindingFlags, null, typeof(global::Aspire.Hosting.Ats.
CommandSpec
), global::System.Array.Empty<global::System.Type>(), null),
224
properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Hosting.Ats.
CommandSpec
>(options, info7);
299
ParameterType = typeof(global::Aspire.Hosting.Ats.
CommandSpec
),
308
ParameterType = typeof(global::Aspire.Hosting.Ats.
CommandSpec
),
317
ParameterType = typeof(global::Aspire.Hosting.Ats.
CommandSpec
),
326
ParameterType = typeof(global::Aspire.Hosting.Ats.
CommandSpec
),
Projects\GuestRuntime.cs (3)
115
var
commandSpec = watchMode && _spec.WatchExecute is not null
139
var
commandSpec = _spec.PublishExecute ?? _spec.Execute;
145
CommandSpec
commandSpec,
src\Aspire.Hosting\Ats\RuntimeSpec.cs (4)
37
public
CommandSpec
? InstallDependencies { get; init; }
42
public required
CommandSpec
Execute { get; init; }
47
public
CommandSpec
? WatchExecute { get; init; }
52
public
CommandSpec
? PublishExecute { get; init; }