Class CmdletFinder
Provides enumerations of well-known cmdlets and facilities to find process-specific cmdlets
Inheritance
System.Object
CmdletFinder
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 static class CmdletFinder
Properties
Common
Provides common cmdlets supported by all servers
Declaration
public static IEnumerable<Type> Common { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Type> |
HGov
Provides cmdlets supported by host governor
Declaration
public static IEnumerable<Type> HGov { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Type> |
ZGov
Provides cmdlets supported by zone governor
Declaration
public static IEnumerable<Type> ZGov { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Type> |
Methods
Find(Type, Func<Type, Boolean>)
Finds cmdlets in assembly that contains the specified type, optionally filtering the cmdlet types
Declaration
public static IEnumerable<Type> Find(Type assemblyContainingType, Func<Type, bool> filter = null)
Parameters
Type | Name | Description |
---|---|---|
System.Type | assemblyContainingType | |
System.Func<System.Type, System.Boolean> | filter |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Type> |
FindByNamespace(Type, String)
Finds cmdlets in assembly that contains the specified type, optionally filtering the cmdlet types
Declaration
public static IEnumerable<Type> FindByNamespace(Type assemblyContainingType, string nsFilter = null)
Parameters
Type | Name | Description |
---|---|---|
System.Type | assemblyContainingType | |
System.String | nsFilter |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Type> |