Class CheckAtomicAction
Inheritance
System.Object
CheckAtomicAction
Namespace: Eco.Core.Utils.AtomicAction
Assembly: Eco.Core.dll
Syntax
public sealed class CheckAtomicAction : Object, IAtomicAction, IDisposable
Constructors
CheckAtomicAction(Func<Result>)
Declaration
public CheckAtomicAction(Func<Result> check)
Parameters
Type | Name | Description |
---|---|---|
System.Func<Result> | check |
Methods
CanApplyNonDisposing()
Declaration
public Result CanApplyNonDisposing()
Returns
Type | Description |
---|---|
Result |
Dispose()
Declaration
public void Dispose()
TryApply()
Declaration
public Result TryApply()
Returns
Type | Description |
---|---|
Result |
Implements
System.IDisposable