Class BaseCollector
Base class for all collectors.
Inheritance
System.Object
BaseCollector
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public abstract class BaseCollector : IPlatformRunnable
Constructors
| Improve this Doc View SourceBaseCollector(CollectCommandOptions, Action<CollectObject>)
Declaration
protected BaseCollector(CollectCommandOptions opts, Action<CollectObject> changeHandler)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectCommandOptions | opts | |
| System.Action<CollectObject> | changeHandler |
Properties
| Improve this Doc View SourceResults
Declaration
public ConcurrentStack<CollectObject> Results { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Concurrent.ConcurrentStack<CollectObject> |
RunStatus
Declaration
public RUN_STATUS RunStatus { get; }
Property Value
| Type | Description |
|---|---|
| RUN_STATUS |
Methods
| Improve this Doc View SourceCanRunOnPlatform()
Declaration
public abstract bool CanRunOnPlatform()
Returns
| Type | Description |
|---|---|
| System.Boolean |
ExecuteInternal()
Declaration
public abstract void ExecuteInternal()
Start()
Declaration
public void Start()
Stop()
Declaration
public void Stop()
TryExecute()
Declaration
public void TryExecute()