5 instantiations of RunProperties
dotnet (5)
_generated\42\RunFileJsonSerializerContext.RunProperties.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
((string)args[0], (string)args[1], (string)args[2], (string)args[3], (string)args[4], (string)args[5]),
Commands\Run\RunProperties.cs (1)
25
result = new
RunProperties
(
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
335
runProperties = new
RunProperties
(
Commands\Test\MTP\TestModulesFilterHandler.cs (2)
66
? new
RunProperties
(muxerPath, $@"exec ""{testModule}""", null)
67
: new
RunProperties
(testModule, null, null);
71 references to RunProperties
dotnet (71)
_generated\41\RunFileJsonSerializerContext.RunFileBuildCacheEntry.g.cs (3)
197
var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
>
212
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunFileBuildCacheEntry).GetProperty("Run", InstanceMemberBindingFlags, null, typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
), global::System.Array.Empty<global::System.Type>(), null),
215
properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
>(options, info7);
_generated\42\RunFileJsonSerializerContext.RunProperties.g.cs (47)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
>? _RunProperties;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
> RunProperties
22
get => _RunProperties ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
> Create_RunProperties(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string), typeof(string), typeof(string), typeof(string)}, modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
),
58
Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj).Command,
59
Setter = static (obj, value) => __set_RunProperties_Command((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj, value!),
66
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
).GetProperty("Command", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
),
80
Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj).Arguments,
81
Setter = static (obj, value) => __set_RunProperties_Arguments((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj, value!),
88
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
).GetProperty("Arguments", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
),
100
Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj).WorkingDirectory,
101
Setter = static (obj, value) => __set_RunProperties_WorkingDirectory((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj, value!),
108
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
).GetProperty("WorkingDirectory", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
118
DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
),
120
Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj).RuntimeIdentifier,
121
Setter = static (obj, value) => __set_RunProperties_RuntimeIdentifier((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj, value!),
128
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
).GetProperty("RuntimeIdentifier", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
140
DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
),
142
Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj).DefaultAppHostRuntimeIdentifier,
143
Setter = static (obj, value) => __set_RunProperties_DefaultAppHostRuntimeIdentifier((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj, value!),
150
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
).GetProperty("DefaultAppHostRuntimeIdentifier", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
162
DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
),
164
Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj).TargetFrameworkVersion,
165
Setter = static (obj, value) => __set_RunProperties_TargetFrameworkVersion((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)obj, value!),
172
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
).GetProperty("TargetFrameworkVersion", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
184
private void RunPropertiesSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
? value)
194
writer.WriteString(PropName_Command, ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)value).Command);
195
writer.WriteString(PropName_Arguments, ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)value).Arguments);
196
writer.WriteString(PropName_WorkingDirectory, ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)value).WorkingDirectory);
197
writer.WriteString(PropName_RuntimeIdentifier, ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)value).RuntimeIdentifier);
198
writer.WriteString(PropName_DefaultAppHostRuntimeIdentifier, ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)value).DefaultAppHostRuntimeIdentifier);
199
writer.WriteString(PropName_TargetFrameworkVersion, ((global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
)value).TargetFrameworkVersion);
268
private static extern void __set_RunProperties_Command(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
obj, string value);
270
private static extern void __set_RunProperties_Arguments(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
obj, string value);
272
private static extern void __set_RunProperties_WorkingDirectory(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
obj, string value);
274
private static extern void __set_RunProperties_RuntimeIdentifier(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
obj, string value);
276
private static extern void __set_RunProperties_DefaultAppHostRuntimeIdentifier(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
obj, string value);
278
private static extern void __set_RunProperties_TargetFrameworkVersion(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
obj, string value);
_generated\50\RunFileJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
34
if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.
RunProperties
))
Commands\Run\RunCommand.cs (7)
180
RunProperties
? cachedRunProperties = null;
237
internal ICommand GetTargetCommand(LaunchProfile? launchSettings, Func<ProjectCollection, ProjectInstance>? projectFactory,
RunProperties
? cachedRunProperties, FacadeLogger? logger)
468
private void EnsureProjectIsBuilt(out Func<ProjectCollection, ProjectInstance>? projectFactory, out
RunProperties
? cachedRunProperties, out VirtualProjectBuildingCommand? projectBuilder, string? intermediateOutputPath, bool hasRuntimeEnvironmentVariableSupport)
564
private ICommand GetTargetCommandForProject(ProjectLaunchProfile? launchSettings, Func<ProjectCollection, ProjectInstance>? projectFactory,
RunProperties
? cachedRunProperties, FacadeLogger? logger)
597
var
runProperties =
RunProperties
.FromProject(project).WithApplicationArguments(ApplicationArgs);
639
static ICommand CreateCommandFromRunProperties(
RunProperties
runProperties)
Commands\Run\RunProperties.cs (4)
23
internal static bool TryFromProject(ProjectInstance project, [NotNullWhen(returnValue: true)] out
RunProperties
? result)
42
internal static
RunProperties
FromProject(ProjectInstance project)
44
if (!TryFromProject(project, out
var
result))
52
internal
RunProperties
WithApplicationArguments(string[] applicationArgs)
Commands\Run\VirtualProjectBuildingCommand.cs (4)
106
public
RunProperties
? LastRunProperties { get; private set; }
351
LastRunProperties =
RunProperties
.TryFromProject(buildRequest.ProjectInstance, out
var
runProperties)
1336
public
RunProperties
? Run { get; set; }
Commands\Test\MTP\Models.cs (1)
114
internal sealed record TestModule(
RunProperties
RunProperties, string? ProjectFullPath, string? TargetFramework, bool IsTestingPlatformApplication, LaunchProfile? LaunchSettings, string TargetPath, string? DotnetRootArchVariableName);
Commands\Test\MTP\SolutionAndProjectUtility.cs (3)
313
RunProperties
runProperties;
356
static
RunProperties
GetRunProperties(ProjectInstance project)
370
return
RunProperties
.FromProject(project);
Commands\Test\MTP\TestModulesFilterHandler.cs (1)
65
RunProperties
runProperties = testModule.HasExtension(CliConstants.DLLExtension)