Class Base
This class must be inherited in order to develop a custom connectors. This class is an abstraction layer between a checker (to a lesser extent, a script) in order to perform in/out operations and/or data validations.
Inheritance
System.Object
Base
Namespace: AutoCheck.Core.Connectors
Assembly: AutoCheck.Core.dll
Syntax
public abstract class Base : IDisposable
Methods
| Improve this Doc View SourceDispose()
Disposes the object releasing its unmanaged properties.
Declaration
public abstract void Dispose()
ProcessRemoteFile(Utils.OS, String, String, String, Int32, String, Action<String>)
Downloads a remote file into a temp folder, perfoms the action and removes the file.
Declaration
protected void ProcessRemoteFile(Utils.OS remoteOS, string host, string username, string password, int port, string filePath, Action<string> action)
Parameters
Type | Name | Description |
---|---|---|
Utils.OS | remoteOS | |
System.String | host | |
System.String | username | |
System.String | password | |
System.Int32 | port | |
System.String | filePath | |
Action<System.String> | action | The action to run. |
Extension Methods
ObjectExtensions.DeepClone<T>(T)