CollectOperation<TConfig> Class

An operation that will collect configuration from a server.

Inheritance Hierarchy

Syntax

public class CollectOperation<TConfig> : CollectOperation, Inedo.Diagnostics.ILogSink, ICollectingOperation

Constructors

Name Description
CollectOperation<TConfig>

Methods

Name Description
CollectAsync(IOperationCollectionContext context)
CollectConfigAsync(IOperationCollectionContext context)

Collects the configuration.

Complete(TConfig config)

Returns a System.Threading.Tasks.Task`1 that can be returned from the CollectAsync(IOperationCollectionContext context) method to indicate that the operation completed synchronously.

StoreAsync(Inedo.Extensibility.Configurations.PersistedConfiguration config, Inedo.Extensibility.Configurations.ConfigurationPersistenceContext context)
StoreConfigAsync(Inedo.Extensibility.Configurations.PersistedConfiguration config, Inedo.Extensibility.Configurations.ConfigurationPersistenceContext context)

Stores the configuration.

Remarks

This effectively just wrapps CollectOperation to put strength into it