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)
134return new RunApiOutput.RunCommand
38 references to RunCommand
dotnet (38)
_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), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), 58Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj).ExecutablePath, 59Setter = static (obj, value) => __set_RunCommand_ExecutablePath((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj, value!), 66AttributeProviderFactory = 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), 79DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), 81Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj).CommandLineArguments, 82Setter = static (obj, value) => __set_RunCommand_CommandLineArguments((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj, value!), 89AttributeProviderFactory = 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), 102DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), 104Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj).WorkingDirectory, 105Setter = static (obj, value) => __set_RunCommand_WorkingDirectory((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj, value!), 112AttributeProviderFactory = 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), 123DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand), 125Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj).EnvironmentVariables, 126Setter = static (obj, value) => __set_RunCommand_EnvironmentVariables((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)obj, value!), 133AttributeProviderFactory = 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), 167private void RunCommandSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand? value) 178writer.WriteString(PropName_ExecutablePath, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)value).ExecutablePath); 179writer.WriteString(PropName_CommandLineArguments, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)value).CommandLineArguments); 180writer.WriteString(PropName_WorkingDirectory, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)value).WorkingDirectory); 182IReadOnlyDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand)value).EnvironmentVariables); 227private static extern void __set_RunCommand_ExecutablePath(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand obj, string value); 229private static extern void __set_RunCommand_CommandLineArguments(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand obj, string value); 231private static extern void __set_RunCommand_WorkingDirectory(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiOutput.RunCommand obj, string value); 233private 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)
147[JsonDerivedType(typeof(RunCommand), nameof(RunCommand))]