1 type derived from PublishingOptions
Aspire.Hosting.Tests (1)
Backchannel\AppHostBackchannelTests.cs (1)
153file sealed class DummyPublisherOptions : PublishingOptions
16 references to PublishingOptions
Aspire.Hosting (8)
DistributedApplicationBuilder.cs (4)
379this.AddPublisher<ManifestPublisher, PublishingOptions>("manifest"); 380this.AddPublisher<Publisher, PublishingOptions>("default"); 498_innerBuilder.Services.Configure<PublishingOptions>(_innerBuilder.Configuration.GetSection(PublishingOptions.Publishing));
PublisherDistributedApplicationBuilderExtensions.cs (1)
39builder.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)
15IOptions<PublishingOptions> options,
Aspire.Hosting.Tests (8)
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 =>
PublishingTests.cs (3)
219var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 230var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 241var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>();