Class LockConcurrent
Inheritance
System.Object
LockConcurrent
Implements
System.IDisposable
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 Parameters
Implements
System.IDisposable