Show / Hide Table of Contents

Class AsyncQueueBase<TItem>.AsyncQueueItem

Inheritance
object
AsyncQueueBase<TItem>.AsyncQueueItem
Implements
IAsyncQueueProcessItemContext<TItem>
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Threading
Assembly: SoCore.dll
Syntax
protected class AsyncQueueBase<TItem>.AsyncQueueItem : IAsyncQueueProcessItemContext<TItem>

Constructors

AsyncQueueItem()

Declaration
public AsyncQueueItem()

Fields

Completion

Reference object used to wait for and signal completion of the item

Declaration
public readonly TaskCompletionSource<bool> Completion
Field Value
Type Description
TaskCompletionSource<bool>
Remarks

The completion's task hols exception info if the task fails.

Id

Declaration
public readonly Guid Id
Field Value
Type Description
Guid

Properties

ContextIdentifier

Declaration
public string ContextIdentifier { get; set; }
Property Value
Type Description
string

Item

Item to be processed

Declaration
public TItem Item { get; set; }
Property Value
Type Description
TItem

Requeue

Declaration
public bool Requeue { get; set; }
Property Value
Type Description
bool

User

Declaration
public ClaimsPrincipal User { get; set; }
Property Value
Type Description
ClaimsPrincipal

Implements

IAsyncQueueProcessItemContext<TItem>

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top