Class JNetPSHelper
- Namespace
- MASES.JNetPSCore
- Assembly
- MASES.JNetPSCore.dll
Generic public Helper class
public static class JNetPSHelper
- Inheritance
-
JNetPSHelper
- Inherited Members
Methods
NeedExternalProcess<T>()
true if the T
needs to be executed externally
public static bool NeedExternalProcess<T>() where T : Cmdlet
Returns
Type Parameters
T
The Cmdlet
NounName<T>()
Extracts the noun name from the CmdletAttribute
public static string NounName<T>() where T : Cmdlet
Returns
- string
The noun name
Type Parameters
T
The Cmdlet
VerbName<T>()
Extracts the verb name from the CmdletAttribute
public static string VerbName<T>() where T : Cmdlet
Returns
- string
The verb name
Type Parameters
T
The Cmdlet
WriteExtendedError(Cmdlet, Exception)
Wites full exception in e
raised from cmdlet
public static void WriteExtendedError(this Cmdlet cmdlet, Exception e)