Condividi tramite


OrleansServiceExtensions.WithStreaming Method

Definition

Overloads

WithStreaming(OrleansService, String, IResourceBuilder<IResourceWithConnectionString>)

Adds a stream provider to the Orleans service.

WithStreaming(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Adds a stream provider to the Orleans service.

WithStreaming(OrleansService, String, IProviderConfiguration)

Adds a stream provider to the Orleans service.

WithStreaming(OrleansService, String, IResourceBuilder<IResourceWithConnectionString>)

Source:
OrleansServiceExtensions.cs
Source:
OrleansServiceExtensions.cs

Adds a stream provider to the Orleans service.

public static Aspire.Hosting.Orleans.OrleansService WithStreaming (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, string name, Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.IResourceWithConnectionString> provider);
static member WithStreaming : Aspire.Hosting.Orleans.OrleansService * string * Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.IResourceWithConnectionString> -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithStreaming (orleansServiceBuilder As OrleansService, name As String, provider As IResourceBuilder(Of IResourceWithConnectionString)) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

name
String

The name of the provider. This is the name the application will use to resolve the provider.

provider
IResourceBuilder<IResourceWithConnectionString>

The provider to add.

Returns

>The Orleans service builder.

Applies to

WithStreaming(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Source:
OrleansServiceExtensions.cs
Source:
OrleansServiceExtensions.cs

Adds a stream provider to the Orleans service.

public static Aspire.Hosting.Orleans.OrleansService WithStreaming (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.IResourceWithConnectionString> provider);
static member WithStreaming : Aspire.Hosting.Orleans.OrleansService * Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.IResourceWithConnectionString> -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithStreaming (orleansServiceBuilder As OrleansService, provider As IResourceBuilder(Of IResourceWithConnectionString)) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

provider
IResourceBuilder<IResourceWithConnectionString>

The provider to add.

Returns

>The Orleans service builder.

Remarks

This resource name is the name the application will use to resolve the provider.

Applies to

WithStreaming(OrleansService, String, IProviderConfiguration)

Source:
OrleansServiceExtensions.cs
Source:
OrleansServiceExtensions.cs

Adds a stream provider to the Orleans service.

public static Aspire.Hosting.Orleans.OrleansService WithStreaming (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, string name, Aspire.Hosting.Orleans.IProviderConfiguration provider);
static member WithStreaming : Aspire.Hosting.Orleans.OrleansService * string * Aspire.Hosting.Orleans.IProviderConfiguration -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithStreaming (orleansServiceBuilder As OrleansService, name As String, provider As IProviderConfiguration) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

name
String

The name of the provider. This is the name the application will use to resolve the provider.

provider
IProviderConfiguration

The provider to add.

Returns

>The Orleans service builder.

Applies to