Class AvFlow.Builder
Fluent builder for AvFlow.
public sealed class AvFlow.Builder
- Inheritance
-
objectAvFlow.Builder
Methods
Build()
Builds the AvFlow.
public AvFlow Build()
Returns
Remarks
The returned object is independent of the builder and will not reflect subsequent changes made to this builder instance.
Copy()
Creates a copy of the builder.
public AvFlow.Builder Copy()
Returns
Remarks
The returned object is independent of the builder and will not reflect subsequent changes made to this builder instance.
From(IAvDataLoader)
Adds an avatar data loader to the flow.
public AvFlow.Builder From(IAvDataLoader loader)
Parameters
loaderIAvDataLoader
Returns
Remarks
Loaders are tried in the order they are added until one succeeds.
From(params IAvDataLoader[])
Adds multiple avatar data loaders to the flow.
public AvFlow.Builder From(params IAvDataLoader[] loaders)
Parameters
loadersIAvDataLoader[]
Returns
Remarks
Loaders are tried in the order they are added until one succeeds.
ProcessWith(IAvPostProcessor)
Adds a post-processor to the flow.
public AvFlow.Builder ProcessWith(IAvPostProcessor postProcessor)
Parameters
postProcessorIAvPostProcessor
Returns
Remarks
Note that all sync post-processors run before all async post-processors, regardless of order of addition in the builder.
ProcessWith(params IAvPostProcessor[])
Adds multiple post-processors to the flow.
public AvFlow.Builder ProcessWith(params IAvPostProcessor[] postProcessors)
Parameters
postProcessorsIAvPostProcessor[]
Returns
Remarks
Note that all sync post-processors run before all async post-processors, regardless of order of addition in the builder.
ProcessWithAsync(IAsyncAvPostProcessor)
Adds an asynchronous post-processor to the flow.
public AvFlow.Builder ProcessWithAsync(IAsyncAvPostProcessor asyncPostProcessor)
Parameters
asyncPostProcessorIAsyncAvPostProcessor
Returns
Remarks
Note that all async post-processors run after all sync post-processors, regardless of order of addition in the builder.
ProcessWithAsync(params IAsyncAvPostProcessor[])
Adds multiple asynchronous post-processors to the flow.
public AvFlow.Builder ProcessWithAsync(params IAsyncAvPostProcessor[] asyncPostProcessors)
Parameters
asyncPostProcessorsIAsyncAvPostProcessor[]
Returns
Remarks
Note that all async post-processors run after all sync post-processors, regardless of order of addition in the builder.
Using(IAvImporter)
Adds an avatar importer to the flow.
public AvFlow.Builder Using(IAvImporter importer)
Parameters
importerIAvImporter
Returns
Remarks
Importers are evaluated based on format support, then tried in the order they are added until one succeeds.
Using(params IAvImporter[])
Adds multiple avatar importers to the flow.
public AvFlow.Builder Using(params IAvImporter[] importers)
Parameters
importersIAvImporter[]
Returns
Remarks
Importers are evaluated based on format support, then tried in the order they are added until one succeeds.