Documentation
Table of Contents

Method AddPendingAsync

Namespace
IntentSharp.Mapping
Assembly
IntentSharp.dll

AddPendingAsync(CompiledMapping, CancellationToken)

Stores pending as the next revision with the status Pending and leaves the active revision as it is, for a replacement held until someone activates it. Returns the row as stored.

public Task<CompiledMapping> AddPendingAsync(CompiledMapping pending, CancellationToken cancellationToken = default)

Parameters

pending CompiledMapping

The row to hold.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<CompiledMapping>

Exceptions

ArgumentNullException

pending is null.

ArgumentException

The row cannot be stored.