Table of Contents

Class AvFlow.Builder

Namespace
Uralstech.AvLoader

Fluent builder for AvFlow.

public sealed class AvFlow.Builder
Inheritance
object
AvFlow.Builder

Methods

Build()

Builds the AvFlow.

public AvFlow Build()

Returns

AvFlow

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

AvFlow.Builder

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

loader IAvDataLoader

Returns

AvFlow.Builder

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

loaders IAvDataLoader[]

Returns

AvFlow.Builder

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

postProcessor IAvPostProcessor

Returns

AvFlow.Builder

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

postProcessors IAvPostProcessor[]

Returns

AvFlow.Builder

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

asyncPostProcessor IAsyncAvPostProcessor

Returns

AvFlow.Builder

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

asyncPostProcessors IAsyncAvPostProcessor[]

Returns

AvFlow.Builder

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

importer IAvImporter

Returns

AvFlow.Builder

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

importers IAvImporter[]

Returns

AvFlow.Builder

Remarks

Importers are evaluated based on format support, then tried in the order they are added until one succeeds.