41 references to String
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
3168AtsConstants.String or AtsConstants.Char => "string",
Aspire.Hosting.CodeGeneration.Go.Tests (4)
AtsGoCodeGeneratorTests.cs (1)
2638TypeId = AtsConstants.String,
AtsGoDerivedBuilderTests.cs (1)
497private static readonly AtsTypeRef s_string = new() { TypeId = AtsConstants.String, Category = AtsTypeCategory.Primitive };
GoDocCommentTests.cs (1)
448var stringType = Primitive(AtsConstants.String);
GoGeneratorEscapingTests.cs (1)
115var stringType = Primitive(AtsConstants.String);
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
2172AtsConstants.String or AtsConstants.Char or 2659AtsConstants.String or AtsConstants.Char => "String",
Aspire.Hosting.CodeGeneration.Java.Tests (3)
AtsJavaCodeGeneratorTests.cs (3)
2998var stringType = new AtsTypeRef { TypeId = AtsConstants.String, Category = AtsTypeCategory.Primitive }; 3553Type = new AtsTypeRef { TypeId = AtsConstants.String, Category = AtsTypeCategory.Primitive } 3668Type = new AtsTypeRef { TypeId = AtsConstants.String, Category = AtsTypeCategory.Primitive }
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
254AtsConstants.String or AtsConstants.Char => "str",
Aspire.Hosting.CodeGeneration.Python.Tests (4)
AtsPythonCodeGeneratorTests.cs (4)
885TypeId = AtsConstants.String, 941TypeId = AtsConstants.String, 1075TypeId = AtsConstants.String, 1160TypeId = AtsConstants.String,
Aspire.Hosting.CodeGeneration.Rust (2)
AtsRustCodeGenerator.cs (2)
1015AtsConstants.String or AtsConstants.Char => "String", 1041AtsConstants.String or AtsConstants.Char => "&str",
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptApiProjector.cs (1)
1764AtsConstants.String or AtsConstants.Char => "string",
Aspire.Hosting.CodeGeneration.TypeScript.Tests (5)
AtsTypeScriptCodeGeneratorTests.cs (5)
287TypeId = AtsConstants.String, 1077KeyType = new AtsTypeRef { TypeId = AtsConstants.String, Category = AtsTypeCategory.Primitive }, 1344Assert.Equal(AtsConstants.String, image.Type?.TypeId); 3134TypeId = AtsConstants.String, 3610TypeId = AtsConstants.String,
Aspire.Hosting.Native.CodeGeneration (4)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (4)
2478return AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.Any); 2598return AtsConstants.String; 2811TypeId = AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.Any), 2814KeyType = new AtsTypeRef { TypeId = AtsConstants.String, ClrType = typeof(string), Category = AtsTypeCategory.Primitive },
Aspire.Hosting.RemoteHost (4)
AtsCapabilityScanner.cs (4)
2478return AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.Any); 2598return AtsConstants.String; 2811TypeId = AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.Any), 2814KeyType = new AtsTypeRef { TypeId = AtsConstants.String, ClrType = typeof(string), Category = AtsTypeCategory.Primitive },
Aspire.Hosting.RemoteHost.Tests (9)
AtsCapabilityScannerTests.cs (5)
194Assert.Contains(parameter.Type.UnionTypes!, type => type.TypeId == AtsConstants.String); 491Assert.Equal(AtsConstants.String, nameGetter.ReturnType.TypeId); 496Assert.Equal(AtsConstants.String, descriptionGetter.ReturnType.TypeId); 517Assert.Equal(AtsConstants.String, nullableString.Type.TypeId); 522Assert.Equal(AtsConstants.String, requiredString.Type.TypeId);
AtsMarshallerTests.cs (3)
175new AtsTypeRef { TypeId = AtsConstants.String, ClrType = typeof(string), Category = AtsTypeCategory.Primitive }, 198new AtsTypeRef { TypeId = AtsConstants.String, ClrType = typeof(string), Category = AtsTypeCategory.Primitive }, 220new AtsTypeRef { TypeId = AtsConstants.String, ClrType = typeof(string), Category = AtsTypeCategory.Primitive },
ExternalCapabilityRegistryTests.cs (1)
964Type = new AtsTypeRef { TypeId = AtsConstants.String, Category = AtsTypeCategory.Primitive },
Aspire.TypeSystem (1)
AtsConstants.cs (1)
316String or Char or Number or Boolean or Void => true,