25 instantiations of AtsDtoPropertyInfo
Aspire.Hosting.CodeGeneration.Go.Tests (10)
AtsGoCodeGeneratorTests.cs (1)
1225new AtsDtoPropertyInfo
AtsGoDerivedBuilderTests.cs (2)
548new AtsDtoPropertyInfo { Name = "Pool", Type = s_pool }, 549new AtsDtoPropertyInfo { Name = "Label", Type = s_string }
GoDocCommentTests.cs (4)
429new AtsDtoPropertyInfo { Name = "DisplayName", Type = stringType, Documentation = new AtsDocumentationInfo { Summary = "Gets or sets the display name." } }, 430new AtsDtoPropertyInfo { Name = "Enabled", Type = boolType, Documentation = new AtsDocumentationInfo { Summary = "Gets or sets a value indicating whether the resource is enabled." } }, 431new AtsDtoPropertyInfo { Name = "Port", Type = Primitive(AtsConstants.Number), Description = "The port of the resource." }, 432new AtsDtoPropertyInfo { Name = "Undocumented", Type = stringType }
GoGeneratorEscapingTests.cs (3)
150new AtsDtoPropertyInfo { Name = "Bad\"Name", Type = stringType, Documentation = new AtsDocumentationInfo { Summary = InjectedText } }, 151new AtsDtoPropertyInfo { Name = "Back\\slash", Type = numberType }, 152new AtsDtoPropertyInfo { Name = "cal\"lback", Type = callbackType, IsCallback = true, CallbackParameters = callbackParameters, CallbackReturnType = voidType }
Aspire.Hosting.CodeGeneration.Java.Tests (6)
AtsJavaCodeGeneratorTests.cs (6)
3097new AtsDtoPropertyInfo { Name = "Numbers", Type = numberArray }, 3098new AtsDtoPropertyInfo { Name = "Flags", Type = booleanMatrix } 3328new AtsDtoPropertyInfo 3341new AtsDtoPropertyInfo 3443new AtsDtoPropertyInfo 3710new AtsDtoPropertyInfo
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
387new AtsDtoPropertyInfo
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
AtsRustCodeGeneratorTests.cs (1)
162new AtsDtoPropertyInfo
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
974new AtsDtoPropertyInfo
Aspire.Hosting.Native.CodeGeneration (1)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (1)
1197properties.Add(new AtsDtoPropertyInfo
Aspire.Hosting.RemoteHost (1)
AtsCapabilityScanner.cs (1)
1197properties.Add(new AtsDtoPropertyInfo
Aspire.Hosting.RemoteHost.Tests (4)
AtsContextFilterTests.cs (4)
271new AtsDtoPropertyInfo 282new AtsDtoPropertyInfo 429new AtsDtoPropertyInfo 482new AtsDtoPropertyInfo
40 references to AtsDtoPropertyInfo
Aspire.Hosting.CodeGeneration.Go (5)
AtsGoCodeGenerator.cs (5)
820foreach (var property in dto.Properties) 845foreach (var property in dto.Properties) 1028foreach (var property in dtoInfo.Properties) 1954private void EmitDtoCallbackToMap(AtsDtoPropertyInfo property, string propertyName) 1965private static AtsParameterInfo DtoPropertyToParameterInfo(AtsDtoPropertyInfo property)
Aspire.Hosting.CodeGeneration.Java (8)
AtsJavaCodeGenerator.cs (8)
743foreach (var property in dto.Properties) 752foreach (var property in dto.Properties) 765foreach (var property in dto.Properties) 787foreach (var property in dto.Properties) 903foreach (var property in dtoInfo.Properties) 1985private static bool IsStronglyTypedDtoCallback(AtsDtoPropertyInfo property) 1988private string MapDtoFieldTypeToJava(AtsDtoPropertyInfo property) 1997private void EmitJavaDtoCallbackToMap(AtsDtoPropertyInfo property)
Aspire.Hosting.CodeGeneration.Python (2)
AtsPythonCodeGenerator.cs (2)
932foreach (var prop in dtoType.Properties) 1040foreach (var property in dtoInfo.Properties)
Aspire.Hosting.CodeGeneration.Rust (2)
AtsRustCodeGenerator.cs (2)
219foreach (var property in dto.Properties) 243foreach (var property in dto.Properties)
Aspire.Hosting.CodeGeneration.TypeScript (7)
AtsTypeScriptCodeGenerator.cs (6)
383private bool TryGetDtoCallbackMarshallingProperties(AtsTypeRef? typeRef, out List<AtsDtoPropertyInfo> marshallingProperties) 701foreach (var prop in dto.Properties) 1495IReadOnlyList<AtsDtoPropertyInfo> marshallingProperties, 1503foreach (var marshallingProperty in marshallingProperties) 1524AtsDtoPropertyInfo dtoProperty, 1558private static AtsParameterInfo CreateCallbackParameter(AtsDtoPropertyInfo callbackProperty, string callbackLocalName)
TypeScriptApiProjector.cs (1)
787foreach (var property in dtoInfo.Properties)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
1878var createProcessSpec = Assert.Single(processCommandExportOptions.Properties, property => property.Name == "CreateProcessSpec");
Aspire.Hosting.Native.CodeGeneration (4)
NativeCSharpProjection.cs (1)
40foreach (var property in dto.Properties)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (3)
622foreach (var prop in dto.Properties) 736foreach (var prop in dto.Properties) 1153var properties = new List<AtsDtoPropertyInfo>();
Aspire.Hosting.RemoteHost (4)
AtsCapabilityScanner.cs (3)
622foreach (var prop in dto.Properties) 736foreach (var prop in dto.Properties) 1153var properties = new List<AtsDtoPropertyInfo>();
AtsContextFilter.cs (1)
483foreach (var property in dtoType.Properties)
Aspire.Hosting.RemoteHost.Tests (6)
AtsCapabilityScannerTests.cs (6)
430var commandOptionsProperty = Assert.Single(dto.Properties, p => p.Name == nameof(HttpCommandExportOptions.CommandOptions)); 436var prepareRequestProperty = Assert.Single(dto.Properties, p => p.Name == nameof(HttpCommandExportOptions.PrepareRequest)); 516var nullableString = Assert.Single(dto.Properties, p => p.Name == nameof(NullableScalarDto.NullableString)); 521var requiredString = Assert.Single(dto.Properties, p => p.Name == nameof(NullableScalarDto.RequiredString)); 526var nullableNumber = Assert.Single(dto.Properties, p => p.Name == nameof(NullableScalarDto.NullableNumber)); 531var requiredNumber = Assert.Single(dto.Properties, p => p.Name == nameof(NullableScalarDto.RequiredNumber));
Aspire.TypeSystem (1)
AtsCapabilityInfo.cs (1)
535public required IReadOnlyList<AtsDtoPropertyInfo> Properties { get; init; }