2 types derived from PublishingOptions
Aspire.Hosting.Azure (1)
AzurePublisherOptions.cs (1)
13public sealed class AzurePublisherOptions : PublishingOptions
Aspire.Hosting.Tests (1)
Backchannel\AppHostBackchannelTests.cs (1)
153file sealed class DummyPublisherOptions : PublishingOptions
13 references to PublishingOptions
Aspire.Hosting (8)
DistributedApplicationBuilder.cs (4)
371this.AddPublisher<ManifestPublisher, PublishingOptions>("manifest"); 372this.AddPublisher<Publisher, PublishingOptions>("default"); 489_innerBuilder.Services.Configure<PublishingOptions>(_innerBuilder.Configuration.GetSection(PublishingOptions.Publishing));
PublisherDistributedApplicationBuilderExtensions.cs (1)
41builder.Services.Configure<TPublisherOptions>(name, builder.Configuration.GetSection(nameof(PublishingOptions.Publishing)));
Publishing\ManifestPublisher.cs (2)
12IOptions<PublishingOptions> options, 16private readonly IOptions<PublishingOptions> _options = options;
Publishing\Publisher.cs (1)
12IOptions<PublishingOptions> options,
Aspire.Hosting.Tests (5)
DistributedApplicationBuilderTests.cs (3)
52var options = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 75var publishOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 88var publishOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>();
Helpers\JsonDocumentManifestPublisher.cs (1)
14IOptions<PublishingOptions> options,
ManifestGenerationTests.cs (1)
277program.AppBuilder.Services.Configure<PublishingOptions>(options =>