SerializerBuilderExtensions.Configure 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Configure(ISerializerBuilder, IConfigureOptions<TypeManifestOptions>)
設定序列化產生器。
public static Orleans.Serialization.ISerializerBuilder Configure (this Orleans.Serialization.ISerializerBuilder builder, Microsoft.Extensions.Options.IConfigureOptions<Orleans.Serialization.Configuration.TypeManifestOptions> configure);
static member Configure : Orleans.Serialization.ISerializerBuilder * Microsoft.Extensions.Options.IConfigureOptions<Orleans.Serialization.Configuration.TypeManifestOptions> -> Orleans.Serialization.ISerializerBuilder
<Extension()>
Public Function Configure (builder As ISerializerBuilder, configure As IConfigureOptions(Of TypeManifestOptions)) As ISerializerBuilder
參數
- builder
- ISerializerBuilder
產生器。
- configure
- IConfigureOptions<TypeManifestOptions>
組態委派。
傳回
序列化產生器
適用於
Configure(ISerializerBuilder, Action<TypeManifestOptions>)
設定序列化產生器。
public static Orleans.Serialization.ISerializerBuilder Configure (this Orleans.Serialization.ISerializerBuilder builder, Action<Orleans.Serialization.Configuration.TypeManifestOptions> configure);
static member Configure : Orleans.Serialization.ISerializerBuilder * Action<Orleans.Serialization.Configuration.TypeManifestOptions> -> Orleans.Serialization.ISerializerBuilder
<Extension()>
Public Function Configure (builder As ISerializerBuilder, configure As Action(Of TypeManifestOptions)) As ISerializerBuilder
參數
- builder
- ISerializerBuilder
產生器。
- configure
- Action<TypeManifestOptions>
組態委派。
傳回
序列化產生器
適用於
Configure(ISerializerBuilder, Func<IServiceProvider,IConfigureOptions<TypeManifestOptions>>)
設定序列化產生器。
public static Orleans.Serialization.ISerializerBuilder Configure (this Orleans.Serialization.ISerializerBuilder builder, Func<IServiceProvider,Microsoft.Extensions.Options.IConfigureOptions<Orleans.Serialization.Configuration.TypeManifestOptions>> factory);
static member Configure : Orleans.Serialization.ISerializerBuilder * Func<IServiceProvider, Microsoft.Extensions.Options.IConfigureOptions<Orleans.Serialization.Configuration.TypeManifestOptions>> -> Orleans.Serialization.ISerializerBuilder
<Extension()>
Public Function Configure (builder As ISerializerBuilder, factory As Func(Of IServiceProvider, IConfigureOptions(Of TypeManifestOptions))) As ISerializerBuilder
參數
- builder
- ISerializerBuilder
產生器。
Factory。
傳回
序列化產生器