2 instantiations of RunCommand
dotnet (2)
_generated\25\RunFileApiJsonSerializerContext.RunCommand.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand(){ ExecutablePath = (string)args[0], CommandLineArguments = (string)args[1], WorkingDirectory = (string)args[2], EnvironmentVariables = (global::System.Collections.Generic.IReadOnlyDictionary<string, string>)args[3] },
Commands\Run\Api\RunApiCommand.cs (1)
139return new RunApiOutput.RunCommand
39 references to RunCommand
dotnet (39)
_generated\22\RunFileApiJsonSerializerContext.RunApiOutput.g.cs (1)
46new global::System.Text.Json.Serialization.Metadata.JsonDerivedType(typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), "RunCommand"),
_generated\25\RunFileApiJsonSerializerContext.RunCommand.g.cs (35)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand>? _RunCommand; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand> RunCommand 22get => _RunCommand ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand> Create_RunCommand(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj).ExecutablePath, 61Setter = static (obj, value) => __set_RunCommand_ExecutablePath((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj, value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand).GetProperty("ExecutablePath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), 83Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj).CommandLineArguments, 84Setter = static (obj, value) => __set_RunCommand_CommandLineArguments((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj, value!), 91AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand).GetProperty("CommandLineArguments", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 104DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), 106Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj).WorkingDirectory, 107Setter = static (obj, value) => __set_RunCommand_WorkingDirectory((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj, value!), 114AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand).GetProperty("WorkingDirectory", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 125DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), 127Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj).EnvironmentVariables, 128Setter = static (obj, value) => __set_RunCommand_EnvironmentVariables((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj, value!), 135AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 169private void RunCommandSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand? value) 180writer.WriteString(PropName_ExecutablePath, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)value).ExecutablePath); 181writer.WriteString(PropName_CommandLineArguments, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)value).CommandLineArguments); 182writer.WriteString(PropName_WorkingDirectory, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)value).WorkingDirectory); 184IReadOnlyDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)value).EnvironmentVariables); 229private static extern void __set_RunCommand_ExecutablePath(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand obj, string value); 231private static extern void __set_RunCommand_CommandLineArguments(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand obj, string value); 233private static extern void __set_RunCommand_WorkingDirectory(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand obj, string value); 235private static extern void __set_RunCommand_EnvironmentVariables(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand obj, global::System.Collections.Generic.IReadOnlyDictionary<string, string> value);
_generated\33\RunFileApiJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
54if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand))
Commands\Run\Api\RunApiCommand.cs (2)
152[JsonDerivedType(typeof(RunCommand), nameof(RunCommand))]