次の方法で共有


ActivityGenerator.GenerateFromModuleInfo(PSModuleInfo, String) Method

Definition

Generates a complete activity source file from a module.

public:
 static cli::array <System::String ^> ^ GenerateFromModuleInfo(System::Management::Automation::PSModuleInfo ^ moduleToProcess, System::String ^ activityNamespace);
public static string[] GenerateFromModuleInfo (System.Management.Automation.PSModuleInfo moduleToProcess, string activityNamespace);
static member GenerateFromModuleInfo : System.Management.Automation.PSModuleInfo * string -> string[]
Public Shared Function GenerateFromModuleInfo (moduleToProcess As PSModuleInfo, activityNamespace As String) As String()

Parameters

moduleToProcess
PSModuleInfo
activityNamespace
String

The namesspace to use for the target classes

Returns

String[]

An array of code elements to compile into an assembly

Applies to