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)
87var options = new PublishingOptions
21 references to PublishingOptions
Aspire.Hosting (9)
DistributedApplicationBuilder.cs (4)
391this.AddPublisher<ManifestPublisher, PublishingOptions>("manifest"); 392this.AddPublisher<Publisher, PublishingOptions>("default"); 488_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 (2)
Provisioning\Internal\DefaultProvisioningContextProvider.cs (2)
34IOptions<PublishingOptions> publishingOptions) : IProvisioningContextProvider 41private readonly PublishingOptions _publishingOptions = publishingOptions.Value;
Aspire.Hosting.Azure.Tests (2)
ProvisioningTestHelpers.cs (2)
84public static IOptions<PublishingOptions> CreatePublishingOptions( 87var 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)
218var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 229var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>(); 240var publishingOptions = app.Services.GetRequiredService<IOptions<PublishingOptions>>();