Class Cmdlet
Provides generalization for commandlet - terminal command handler
Inheritance
System.Object
Cmdlet
Implements
System.IDisposable
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: Azos.Sky.Apps.Terminal
Assembly: Azos.Sky.dll
Syntax
public abstract class Cmdlet : DisposableObject, IDisposable
Constructors
Cmdlet(AppRemoteTerminal, IConfigSectionNode)
Declaration
protected Cmdlet(AppRemoteTerminal terminal, IConfigSectionNode args)
Parameters
Type | Name | Description |
---|---|---|
AppRemoteTerminal | terminal | |
IConfigSectionNode | args |
Fields
m_Args
Declaration
protected IConfigSectionNode m_Args
Field Value
Type | Description |
---|---|
IConfigSectionNode |
m_Terminal
Declaration
protected AppRemoteTerminal m_Terminal
Field Value
Type | Description |
---|---|
AppRemoteTerminal |
Properties
App
Declaration
public ISkyApplication App { get; }
Property Value
Type | Description |
---|---|
ISkyApplication |
Methods
Execute()
Override to perform actual cmdlet work. Return string result
Declaration
public abstract string Execute()
Returns
Type | Description |
---|---|
System.String |
GetHelp()
Override to produce help content
Declaration
public abstract string GetHelp()
Returns
Type | Description |
---|---|
System.String |
Implements
System.IDisposable