Class DisposableStopwatch
Inheritance
↳ object
↳ DisposableStopwatch
Implements
IDisposable
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Utils
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic class DisposableStopwatch : IDisposable
Constructors
DisposableStopwatch(Action<DisposableStopwatchArgs>)
Declarationpublic DisposableStopwatch(Action<DisposableStopwatchArgs> action = null)
Type | Name | Description |
---|---|---|
Action<DisposableStopwatchArgs> | action |
Methods
AddAction(Action<DisposableStopwatchArgs>)
Add action which invoke on dispose. Removes others if they were.
Declarationpublic void AddAction(Action<DisposableStopwatchArgs> action)
Type | Name | Description |
---|---|---|
Action<DisposableStopwatchArgs> | action |
SetAction(Action<DisposableStopwatchArgs>)
Set action which invoke on dispose. Removes others if they were.
Declarationpublic void SetAction(Action<DisposableStopwatchArgs> action)
Type | Name | Description |
---|---|---|
Action<DisposableStopwatchArgs> | action |
Dispose()
Declarationpublic void Dispose()