Otter SDK Reference
Version:

CollectOperation Class

An operation that will collect configuration from a server.

Inheritance Hierarchy

Syntax

public class CollectOperation : Operation, Inedo.Diagnostics.ILogger, ICollectingOperation

Constructors

Name Description
CollectOperation

Initializes a new instance of the CollectOperation class.

Methods

Name Description
CollectAsync(IOperationExecutionContext context)

Collects the configuration from a server.

Complete(Inedo.Otter.Extensibility.Configurations.PersistedConfiguration config)

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

Store(Inedo.Otter.Extensibility.Configurations.PersistedConfiguration config, Inedo.Otter.Extensibility.Configurations.ConfigurationPersistenceContext context)

Stores the specified configuration.