Class BaseCollector
Base class for all collectors.
Inheritance
System.Object
BaseCollector
Assembly: AsaLib.dll
Syntax
public abstract class BaseCollector : object, IPlatformRunnable
Constructors
|
Improve this Doc
View Source
BaseCollector(CollectorOptions, Nullable<Action<CollectObject>>)
Declaration
protected BaseCollector(CollectorOptions opts, Action<CollectObject>? changeHandler)
Parameters
Properties
|
Improve this Doc
View Source
Results
Declaration
public ConcurrentStack<CollectObject> Results { get; }
Property Value
|
Improve this Doc
View Source
RunStatus
Declaration
public RUN_STATUS RunStatus { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public abstract bool CanRunOnPlatform()
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Start()
Declaration
|
Improve this Doc
View Source
Stop()
Declaration
|
Improve this Doc
View Source
TryExecute(Nullable<CancellationToken>)
Declaration
public void TryExecute(CancellationToken? token = null)
Parameters
| Type |
Name |
Description |
| System.Nullable<CancellationToken> |
token |
|
Implements