123 references to Validate
Aspire.Hosting.Native.Server (123)
artifacts\obj\Aspire.Hosting.Native.Server\Debug\native-ats\NativeDispatch.g.cs (118)
20RpcArguments.Validate(arguments, ["context", "revision"]); 27RpcArguments.Validate(arguments, ["context", "name", "typeId"]); 35RpcArguments.Validate(arguments, ["context", "name", "secret", "publishing"]); 43RpcArguments.Validate(arguments, ["context", "name", "image"]); 51RpcArguments.Validate(arguments, ["context", "name", "executablePath", "workingDirectory"]); 59RpcArguments.Validate(arguments, ["context", "name", "options", "secret"]); 67RpcArguments.Validate(arguments, ["context", "name"]); 75RpcArguments.Validate(arguments, ["context", "name", "value", "secret", "publishValueAsDefault"]); 83RpcArguments.Validate(arguments, ["context", "name", "typeId"]); 91RpcArguments.Validate(arguments, ["context", "name", "value"]); 99RpcArguments.Validate(arguments, ["context", "stream", "message"]); 106RpcArguments.Validate(arguments, ["context"]); 113RpcArguments.Validate(arguments, ["context", "target"]); 120RpcArguments.Validate(arguments, ["context"]); 128RpcArguments.Validate(arguments, ["context"]); 135RpcArguments.Validate(arguments, ["context", "revision"]); 142RpcArguments.Validate(arguments, ["context", "failed"]); 149RpcArguments.Validate(arguments, ["context", "requestId", "result"]); 156RpcArguments.Validate(arguments, ["context", "revision", "result"]); 163RpcArguments.Validate(arguments, ["context", "suffix"]); 171RpcArguments.Validate(arguments, ["context", "graphJson"]); 178RpcArguments.Validate(arguments, ["context"]); 186RpcArguments.Validate(arguments, ["context"]); 194RpcArguments.Validate(arguments, ["context", "resource", "endpointName", "property"]); 202RpcArguments.Validate(arguments, ["context"]); 210RpcArguments.Validate(arguments, ["context", "value"]); 218RpcArguments.Validate(arguments, ["context"]); 226RpcArguments.Validate(arguments, ["context", "name", "displayName"]); 233RpcArguments.Validate(arguments, ["context"]); 241RpcArguments.Validate(arguments, ["context"]); 248RpcArguments.Validate(arguments, ["context"]); 256RpcArguments.Validate(arguments, ["context"]); 263RpcArguments.Validate(arguments, ["context"]); 270RpcArguments.Validate(arguments, ["context"]); 277RpcArguments.Validate(arguments, ["context"]); 284RpcArguments.Validate(arguments, ["context"]); 291RpcArguments.Validate(arguments, ["context"]); 298RpcArguments.Validate(arguments, ["context", "resource"]); 305RpcArguments.Validate(arguments, ["context", "resourceName", "commandName"]); 313RpcArguments.Validate(arguments, ["context", "invitation"]); 321RpcArguments.Validate(arguments, ["context", "invitation"]); 329RpcArguments.Validate(arguments, ["context", "invitation"]); 337RpcArguments.Validate(arguments, ["context"]); 345RpcArguments.Validate(arguments, ["context", "observation"]); 352RpcArguments.Validate(arguments, ["context"]); 359RpcArguments.Validate(arguments, ["context"]); 366RpcArguments.Validate(arguments, ["context"]); 373RpcArguments.Validate(arguments, ["context"]); 380RpcArguments.Validate(arguments, ["context"]); 387RpcArguments.Validate(arguments, ["context"]); 394RpcArguments.Validate(arguments, ["context", "resourceId", "afterSequence"]); 401RpcArguments.Validate(arguments, ["context"]); 408RpcArguments.Validate(arguments, ["context", "name"]); 415RpcArguments.Validate(arguments, ["context", "step", "status", "complete", "failed"]); 422RpcArguments.Validate(arguments, ["context", "step", "type", "id", "status", "complete", "failed", "markdown"]); 429RpcArguments.Validate(arguments, ["context", "message"]); 437RpcArguments.Validate(arguments, ["context", "requestId", "accepted"]); 444RpcArguments.Validate(arguments, ["context", "revision", "container"]); 451RpcArguments.Validate(arguments, ["context", "revision", "networkContext", "launch", "bindings"]); 458RpcArguments.Validate(arguments, ["context", "revision", "launch"]); 465RpcArguments.Validate(arguments, ["context", "revision", "executable"]); 472RpcArguments.Validate(arguments, ["context", "revision", "networkContext", "launch", "bindings"]); 479RpcArguments.Validate(arguments, ["context", "revision", "launch"]); 486RpcArguments.Validate(arguments, ["context"]); 493RpcArguments.Validate(arguments, ["context", "composition"]); 500RpcArguments.Validate(arguments, ["context", "launch", "bindings"]); 507RpcArguments.Validate(arguments, ["context"]); 514RpcArguments.Validate(arguments, ["context", "configuration"]); 521RpcArguments.Validate(arguments, ["context", "name", "value"]); 528RpcArguments.Validate(arguments, ["context"]); 536RpcArguments.Validate(arguments, ["context", "container"]); 543RpcArguments.Validate(arguments, ["context", "revision", "networkContext", "launch", "bindings"]); 550RpcArguments.Validate(arguments, ["context", "launch"]); 557RpcArguments.Validate(arguments, ["context", "executable"]); 564RpcArguments.Validate(arguments, ["context", "revision", "networkContext", "launch", "bindings"]); 571RpcArguments.Validate(arguments, ["context", "launch"]); 578RpcArguments.Validate(arguments, ["context"]); 586RpcArguments.Validate(arguments, ["context", "timeoutMilliseconds"]); 593RpcArguments.Validate(arguments, ["context", "dependency"]); 600RpcArguments.Validate(arguments, ["context"]); 607RpcArguments.Validate(arguments, ["context"]); 614RpcArguments.Validate(arguments, ["context", "timeoutMilliseconds"]); 621RpcArguments.Validate(arguments, ["context", "resource", "timeoutMilliseconds"]); 628RpcArguments.Validate(arguments, ["context", "revision", "timeoutMilliseconds"]); 635RpcArguments.Validate(arguments, ["context", "version", "timeoutMilliseconds"]); 642RpcArguments.Validate(arguments, ["context", "value"]); 650RpcArguments.Validate(arguments, ["context", "source", "target", "readOnly"]); 658RpcArguments.Validate(arguments, ["context", "environment"]); 665RpcArguments.Validate(arguments, ["context", "endpoint"]); 673RpcArguments.Validate(arguments, ["context", "entrypoint"]); 681RpcArguments.Validate(arguments, ["context", "name", "value"]); 689RpcArguments.Validate(arguments, ["context"]); 697RpcArguments.Validate(arguments, ["context", "phase", "launch", "bindings"]); 705RpcArguments.Validate(arguments, ["context", "environmentName", "value"]); 713RpcArguments.Validate(arguments, ["context", "name", "target", "readOnly"]); 721RpcArguments.Validate(arguments, ["context", "stream", "message"]); 728RpcArguments.Validate(arguments, ["context", "value"]); 735RpcArguments.Validate(arguments, ["context", "name", "image"]); 743RpcArguments.Validate(arguments, ["context", "name", "executablePath", "workingDirectory"]); 751RpcArguments.Validate(arguments, ["context", "name", "value"]); 759RpcArguments.Validate(arguments, ["context"]); 767RpcArguments.Validate(arguments, ["context", "name"]); 775RpcArguments.Validate(arguments, ["context"]); 782RpcArguments.Validate(arguments, ["context", "annotationId"]); 789RpcArguments.Validate(arguments, ["context", "property"]); 797RpcArguments.Validate(arguments, ["context"]); 804RpcArguments.Validate(arguments, ["context", "name", "value"]); 811RpcArguments.Validate(arguments, ["context", "dependency"]); 819RpcArguments.Validate(arguments, ["context", "args"]); 827RpcArguments.Validate(arguments, ["context", "callback"]); 834RpcArguments.Validate(arguments, ["context", "value"]); 842RpcArguments.Validate(arguments, ["context", "options"]); 850RpcArguments.Validate(arguments, ["context", "name", "value"]); 858RpcArguments.Validate(arguments, ["context", "callback"]); 865RpcArguments.Validate(arguments, ["context", "tag"]); 873RpcArguments.Validate(arguments, ["context", "source"]); 881RpcArguments.Validate(arguments, ["context", "annotationId", "json"]); 889RpcArguments.Validate(arguments, []);
Rpc\NativeHandles.cs (2)
51RpcArguments.Validate(reference, ["$handle", "$type"]); 68RpcArguments.Validate(reference, ["$handle", "$type"]);
Rpc\NativeProviderRegistry.cs (2)
211RpcArguments.Validate(arguments, parameters.Select(parameter => parameter.Name).ToArray()); 369RpcArguments.Validate(arguments, Enumerable.Range(0, parameters.Length).Select(index => $"p{index}").ToArray());
Rpc\NativeProviderValueProtocol.cs (1)
30RpcArguments.Validate(handle, core ? ["$handle", "$type"] : ["$handle", "$type", "$lifetime"]);