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)
335runProperties = 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)
197var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.RunProperties> 212AttributeProviderFactory = 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), 215properties[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), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Commands.Run.RunProperties>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 58Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).Command, 59Setter = static (obj, value) => __set_RunProperties_Command((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 66AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("Command", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 80Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).Arguments, 81Setter = static (obj, value) => __set_RunProperties_Arguments((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 88AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("Arguments", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 100Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).WorkingDirectory, 101Setter = static (obj, value) => __set_RunProperties_WorkingDirectory((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 108AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("WorkingDirectory", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 120Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).RuntimeIdentifier, 121Setter = static (obj, value) => __set_RunProperties_RuntimeIdentifier((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 128AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("RuntimeIdentifier", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 140DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 142Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).DefaultAppHostRuntimeIdentifier, 143Setter = static (obj, value) => __set_RunProperties_DefaultAppHostRuntimeIdentifier((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 150AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("DefaultAppHostRuntimeIdentifier", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 162DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties), 164Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj).TargetFrameworkVersion, 165Setter = static (obj, value) => __set_RunProperties_TargetFrameworkVersion((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)obj, value!), 172AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties).GetProperty("TargetFrameworkVersion", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 184private void RunPropertiesSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Run.RunProperties? value) 194writer.WriteString(PropName_Command, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).Command); 195writer.WriteString(PropName_Arguments, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).Arguments); 196writer.WriteString(PropName_WorkingDirectory, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).WorkingDirectory); 197writer.WriteString(PropName_RuntimeIdentifier, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).RuntimeIdentifier); 198writer.WriteString(PropName_DefaultAppHostRuntimeIdentifier, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).DefaultAppHostRuntimeIdentifier); 199writer.WriteString(PropName_TargetFrameworkVersion, ((global::Microsoft.DotNet.Cli.Commands.Run.RunProperties)value).TargetFrameworkVersion); 268private static extern void __set_RunProperties_Command(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 270private static extern void __set_RunProperties_Arguments(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 272private static extern void __set_RunProperties_WorkingDirectory(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 274private static extern void __set_RunProperties_RuntimeIdentifier(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 276private static extern void __set_RunProperties_DefaultAppHostRuntimeIdentifier(global::Microsoft.DotNet.Cli.Commands.Run.RunProperties obj, string value); 278private 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)
313RunProperties runProperties; 356static RunProperties GetRunProperties(ProjectInstance project) 370return RunProperties.FromProject(project);
Commands\Test\MTP\TestModulesFilterHandler.cs (1)
65RunProperties runProperties = testModule.HasExtension(CliConstants.DLLExtension)