1 type derived from PublishingOptions
Aspire.Hosting.Tests (1)
Backchannel\AppHostBackchannelTests.cs (1)
117file sealed class DummyPublisherOptions : PublishingOptions
1 instantiation of PublishingOptions
Aspire.Hosting.Azure.Tests (1)
ProvisioningTestHelpers.cs (1)
90var options = new PublishingOptions
19 references to PublishingOptions
Aspire.Hosting (9)
DistributedApplicationBuilder.cs (4)
395this.AddPublisher<ManifestPublisher, PublishingOptions>("manifest"); 396this.AddPublisher<Publisher, PublishingOptions>("default"); 492_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.Azure.Tests (2)
ProvisioningTestHelpers.cs (2)
87public static IOptions<PublishingOptions> CreatePublishingOptions( 90var options = new PublishingOptions
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)
179var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 190var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 201var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>();