5 instantiations of RunProperties
dotnet (5)
_generated\42\RunFileJsonSerializerContext.RunProperties.g.cs (1)
32ObjectWithParameterizedConstructorCreator = 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)
25result = new RunProperties(
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
479runProperties = 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)
199var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.RunProperties> 214AttributeProviderFactory = 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), 217properties[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)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.RunProperties>? _RunProperties; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.RunProperties> RunProperties 22get => _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)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.RunProperties> Create_RunProperties(global::System.Text.Json.JsonSerializerOptions options) 27if (!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)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.RunProperties> 35ConstructorAttributeProviderFactory = 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), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Commands.Run.RunProperties>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).Command, 61Setter = static (obj, value) => __set_RunProperties_Command((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("Command", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 80DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 82Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).Arguments, 83Setter = static (obj, value) => __set_RunProperties_Arguments((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 90AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("Arguments", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 102Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).WorkingDirectory, 103Setter = static (obj, value) => __set_RunProperties_WorkingDirectory((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 110AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("WorkingDirectory", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 120DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 122Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).RuntimeIdentifier, 123Setter = static (obj, value) => __set_RunProperties_RuntimeIdentifier((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 130AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("RuntimeIdentifier", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 142DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 144Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).DefaultAppHostRuntimeIdentifier, 145Setter = static (obj, value) => __set_RunProperties_DefaultAppHostRuntimeIdentifier((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 152AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("DefaultAppHostRuntimeIdentifier", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 164DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 166Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).TargetFrameworkVersion, 167Setter = static (obj, value) => __set_RunProperties_TargetFrameworkVersion((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 174AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("TargetFrameworkVersion", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 186private void RunPropertiesSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Run.RunProperties? value) 196writer.WriteString(PropName_Command, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).Command); 197writer.WriteString(PropName_Arguments, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).Arguments); 198writer.WriteString(PropName_WorkingDirectory, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).WorkingDirectory); 199writer.WriteString(PropName_RuntimeIdentifier, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).RuntimeIdentifier); 200writer.WriteString(PropName_DefaultAppHostRuntimeIdentifier, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).DefaultAppHostRuntimeIdentifier); 201writer.WriteString(PropName_TargetFrameworkVersion, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).TargetFrameworkVersion); 270private static extern void __set_RunProperties_Command(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 272private static extern void __set_RunProperties_Arguments(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 274private static extern void __set_RunProperties_WorkingDirectory(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 276private static extern void __set_RunProperties_RuntimeIdentifier(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 278private static extern void __set_RunProperties_DefaultAppHostRuntimeIdentifier(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 280private static extern void __set_RunProperties_TargetFrameworkVersion(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value);
_generated\50\RunFileJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
34if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties))
Commands\Run\RunCommand.cs (7)
180RunProperties? cachedRunProperties = null; 237internal ICommand GetTargetCommand(LaunchProfile? launchSettings, Func<ProjectCollection, ProjectInstance>? projectFactory, RunProperties? cachedRunProperties, FacadeLogger? logger) 468private void EnsureProjectIsBuilt(out Func<ProjectCollection, ProjectInstance>? projectFactory, out RunProperties? cachedRunProperties, out VirtualProjectBuildingCommand? projectBuilder, string? intermediateOutputPath, bool hasRuntimeEnvironmentVariableSupport) 564private ICommand GetTargetCommandForProject(ProjectLaunchProfile? launchSettings, Func<ProjectCollection, ProjectInstance>? projectFactory, RunProperties? cachedRunProperties, FacadeLogger? logger) 597var runProperties = RunProperties.FromProject(project).WithApplicationArguments(ApplicationArgs); 639static ICommand CreateCommandFromRunProperties(RunProperties runProperties)
Commands\Run\RunProperties.cs (4)
23internal static bool TryFromProject(ProjectInstance project, [NotNullWhen(returnValue: true)] out RunProperties? result) 42internal static RunProperties FromProject(ProjectInstance project) 44if (!TryFromProject(project, out var result)) 52internal RunProperties WithApplicationArguments(string[] applicationArgs)
Commands\Run\VirtualProjectBuildingCommand.cs (4)
106public RunProperties? LastRunProperties { get; private set; } 351LastRunProperties = RunProperties.TryFromProject(buildRequest.ProjectInstance, out var runProperties) 1336public RunProperties? Run { get; set; }
Commands\Test\MTP\Models.cs (1)
114internal sealed record TestModule(RunProperties RunProperties, string? ProjectFullPath, string? TargetFramework, bool IsTestingPlatformApplication, LaunchProfile? LaunchSettings, string TargetPath, string? DotnetRootArchVariableName);
Commands\Test\MTP\SolutionAndProjectUtility.cs (3)
457RunProperties runProperties; 500static RunProperties GetRunProperties(ProjectInstance project) 514return RunProperties.FromProject(project);
Commands\Test\MTP\TestModulesFilterHandler.cs (1)
65RunProperties runProperties = testModule.HasExtension(CliConstants.DLLExtension)