Show / Hide Table of Contents

    Class LockConcurrent

    Inheritance
    System.Object
    Disposable
    LockConcurrent
    Implements
    IConcurrent
    System.IDisposable
    Inherited Members
    Disposable.Dispose()
    Disposable.Dispose(Boolean)
    Disposable.DisposeCheck()
    Disposable.Finalize()
    Namespace: Sensus.Concurrent
    Assembly: SensusAndroid.dll
    Syntax
    public class LockConcurrent : Disposable, IConcurrent, IDisposable

    Constructors

    LockConcurrent(Object)

    Declaration
    public LockConcurrent(object lock = null)
    Parameters
    Type Name Description
    System.Object lock

    Methods

    ExecuteThreadSafe(Action)

    Declaration
    public void ExecuteThreadSafe(Action action)
    Parameters
    Type Name Description
    System.Action action

    ExecuteThreadSafe<T>(Func<T>)

    Declaration
    public T ExecuteThreadSafe<T>(Func<T> func)
    Parameters
    Type Name Description
    System.Func<T> func
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Implements

    IConcurrent
    System.IDisposable
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX