2 instantiations of GoApiModel
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.ApiProjection.cs (1)
63return new GoApiModel
Aspire.Hosting.CodeGeneration.Go.Tests (1)
GoApiExportTests.cs (1)
1028return new GoApiModel
22 references to GoApiModel
Aspire.Hosting.CodeGeneration.Go (5)
AtsGoApiReferenceExporter.cs (1)
54var model = new AtsGoCodeGenerator().BuildApiModel(
AtsGoCodeGenerator.ApiProjection.cs (1)
36internal GoApiModel BuildApiModel(
GoApiExportWriter.cs (3)
10/// Serializes a <see cref="GoApiModel"/> into the canonical schema version 1 export document. 22public static JsonObject Write(GoApiModel model) 71public static string WriteToJson(GoApiModel model, bool indented = false)
Aspire.Hosting.CodeGeneration.Go.Tests (17)
AtsGoCodeGeneratorTests.cs (1)
2786var api = new AtsGoCodeGenerator().BuildApiModel(
AtsGoDerivedBuilderTests.cs (1)
162var model = new AtsGoCodeGenerator().BuildApiModel(
GoApiExportTests.cs (15)
25private static readonly Lazy<GoApiModel> s_everything = new(ExportEverything); 48var model = s_everything.Value; 73var model = BuildModel(TestTypesAssemblyName); 107var model = BuildModel(TestTypesAssemblyName); 139var model = BuildModel(HostingAssemblyName); 238var model = new AtsGoCodeGenerator().BuildApiModel( 278var model = s_everything.Value; 340var model = new AtsGoCodeGenerator().BuildApiModel(context, "Test", PackageVersion, ["Test"], CancellationToken.None); 358var model = s_everything.Value; 857private static GoApiModel BuildModel(params string[] exportingAssemblyNames) 862private static GoApiModel ExportEverything() 864var first = BuildModel(HostingAssemblyName, TestTypesAssemblyName); 905private static void AssertDeclarationsAreSelfContained(GoApiModel model) 996private static string RenderFocused(GoApiModel model, params (string ItemId, string[]? MemberNames)[] selection) 1023private static GoApiModel CreateFocusedModel()