2 types derived from RunApiInput
dotnet (2)
Commands\Run\Api\RunApiCommand.cs (2)
64public sealed class GetProject : RunApiInput 105public sealed class GetRunCommand : RunApiInput
64 references to RunApiInput
dotnet (64)
_generated\19\RunFileApiJsonSerializerContext.RunApiInput.g.cs (11)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput>? _RunApiInput; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput> RunApiInput 22get => _RunApiInput ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput> Create_RunApiInput(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput> 44new global::System.Text.Json.Serialization.Metadata.JsonDerivedType(typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject), "GetProject"), 45new global::System.Text.Json.Serialization.Metadata.JsonDerivedType(typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand), "GetRunCommand"), 51jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput>(options, objectInfo);
_generated\20\RunFileApiJsonSerializerContext.GetProject.g.cs (24)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject>? _GetProject; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject> GetProject 22get => _GetProject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject> Create_GetProject(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject> 32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject(){ EntryPointFileFullPath = (string)args[0] }, 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject).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.RunApiInput.GetProject>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject)obj).ArtifactsPath, 61Setter = static (obj, value) => __set_GetProject_ArtifactsPath((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject)obj, value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject).GetProperty("ArtifactsPath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject), 80Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject)obj).EntryPointFileFullPath, 81Setter = static (obj, value) => __set_GetProject_EntryPointFileFullPath((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject)obj, value!), 88AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject).GetProperty("EntryPointFileFullPath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 101private void GetProjectSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject? value) 111writer.WriteString(PropName_ArtifactsPath, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject)value).ArtifactsPath); 112writer.WriteString(PropName_EntryPointFileFullPath, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject)value).EntryPointFileFullPath); 130private static extern void __set_GetProject_ArtifactsPath(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject obj, string value); 132private static extern void __set_GetProject_EntryPointFileFullPath(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject obj, string value);
_generated\21\RunFileApiJsonSerializerContext.GetRunCommand.g.cs (24)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand>? _GetRunCommand; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand> GetRunCommand 22get => _GetRunCommand ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand> Create_GetRunCommand(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand> 32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand(){ EntryPointFileFullPath = (string)args[0] }, 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand).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.RunApiInput.GetRunCommand>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand)obj).ArtifactsPath, 61Setter = static (obj, value) => __set_GetRunCommand_ArtifactsPath((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand)obj, value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand).GetProperty("ArtifactsPath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand), 80Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand)obj).EntryPointFileFullPath, 81Setter = static (obj, value) => __set_GetRunCommand_EntryPointFileFullPath((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand)obj, value!), 88AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand).GetProperty("EntryPointFileFullPath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 101private void GetRunCommandSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand? value) 111writer.WriteString(PropName_ArtifactsPath, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand)value).ArtifactsPath); 112writer.WriteString(PropName_EntryPointFileFullPath, ((global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand)value).EntryPointFileFullPath); 130private static extern void __set_GetRunCommand_ArtifactsPath(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand obj, string value); 132private static extern void __set_GetRunCommand_EntryPointFileFullPath(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand obj, string value);
_generated\33\RunFileApiJsonSerializerContext.GetJsonTypeInfo.g.cs (3)
30if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput)) 34if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetProject)) 38if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.Api.RunApiInput.GetRunCommand))
Commands\Run\Api\RunApiCommand.cs (2)
35RunApiInput input = JsonSerializer.Deserialize(line, RunFileApiJsonSerializerContext.Default.RunApiInput)!; 186[JsonSerializable(typeof(RunApiInput))]