1 instantiation of ExternalApiResource
NativeIntegrations.ExternalApi (1)
ExternalApiExtensions.cs (1)
27return new ExternalApiResource(declaration);
6 references to ExternalApiResource
NativeIntegrations.Contracts (4)
artifacts\obj\NativeIntegrations.Contracts\Debug\provider-contract\ProviderContract.g.cs (4)
17var result = await global::NativeIntegrations.ExternalApi.ExternalApiExtensions.AddExternalApi(new global::Aspire.Hosting.Native.Client.Composition(context.Client, args.GetProperty("composition")), args.GetProperty("name").GetString()!, args.GetProperty("baseUrl").GetString()!).ConfigureAwait(false); 22var result = await context.ReadResource<global::NativeIntegrations.ExternalApi.ExternalApiResource>(args.GetProperty("context")).WithApiKey(new global::Aspire.Hosting.Native.Client.DeclaredValue(context.Client, args.GetProperty("apiKey"))).ConfigureAwait(false); 27var result = await context.ReadResource<global::NativeIntegrations.ExternalApi.ExternalApiResource>(args.GetProperty("context")).GetResourceName().ConfigureAwait(false);
NativeIntegrations.ExternalApi (2)
ExternalApiExtensions.cs (2)
14public static async Task<ExternalApiResource> AddExternalApi(Composition composition, string name, string baseUrl) 37public async Task<ExternalApiResource> WithApiKey(DeclaredValue apiKey)