Class BinaryFileMessageSerializerBuilder
Builds the BinaryFileMessageSerializer or BinaryFileMessageSerializer<TModel>.
Implements
Inherited Members
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Integration.dll
Syntax
public class BinaryFileMessageSerializerBuilder : IBinaryFileMessageSerializerBuilder
Methods
| Improve this doc View sourceBuild()
Builds the IMessageSerializer instance.
Declaration
public IMessageSerializer Build()
Returns
Type | Description |
---|---|
IMessageSerializer | The IMessageSerializer. |
UseModel<TModel>()
Specifies a custom model to wrap the binary file.
Declaration
public IBinaryFileMessageSerializerBuilder UseModel<TModel>() where TModel : IBinaryFileMessage, new()
Returns
Type | Description |
---|---|
IBinaryFileMessageSerializerBuilder | The IBinaryFileMessageSerializerBuilder so that additional calls can be chained. |
Type Parameters
Name | Description |
---|---|
TModel | The type of the IBinaryFileMessage implementation. |