1 type derived from PublishingOptions
Aspire.Hosting.Tests (1)
Backchannel\AppHostBackchannelTests.cs (1)
117file sealed class DummyPublisherOptions : PublishingOptions
17 references to PublishingOptions
Aspire.Hosting (9)
DistributedApplicationBuilder.cs (4)
390this.AddPublisher<ManifestPublisher, PublishingOptions>("manifest"); 391this.AddPublisher<Publisher, PublishingOptions>("default"); 487_innerBuilder.Services.Configure<PublishingOptions>(_innerBuilder.Configuration.GetSection(PublishingOptions.Publishing));
DistributedApplicationRunner.cs (1)
17internal sealed class DistributedApplicationRunner(ILogger<DistributedApplicationRunner> logger, IHostApplicationLifetime lifetime, DistributedApplicationExecutionContext executionContext, DistributedApplicationModel model, IServiceProvider serviceProvider, IPublishingActivityReporter activityReporter, IDistributedApplicationEventing eventing, BackchannelService backchannelService, IOptions<PublishingOptions> publishingOptions) : BackgroundService
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)
51var options = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 74var publishOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 87var publishOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>();
Helpers\JsonDocumentManifestPublisher.cs (1)
14IOptions<PublishingOptions> options,
ManifestGenerationTests.cs (1)
276program.AppBuilder.Services.Configure<PublishingOptions>(options =>
PublishingTests.cs (3)
218var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 229var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 240var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>();