Search Results for

    Show / Hide Table of Contents

    Class WorkHandle

    Handle a work unit.

    Inheritance
    object
    WorkHandle
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Threading
    Assembly: Evergine.Framework.dll
    Syntax
    public class WorkHandle : IDisposable

    Properties

    Priority

    Gets the work priority.

    Declaration
    public WorkPriority Priority { get; }
    Property Value
    Type Description
    WorkPriority

    State

    Gets the work state.

    Declaration
    public WorkState State { get; }
    Property Value
    Type Description
    WorkState

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Execute()

    Executes the work.

    Declaration
    public void Execute()

    Wait()

    Waits until work completed or canceled.

    Declaration
    public void Wait()
    Remarks

    The handle state can be Completed and this methods does not returns immediately because dependant children does not have ended.

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX