ActivityGenerator.GenerateFromModuleInfo(PSModuleInfo, String) ActivityGenerator.GenerateFromModuleInfo(PSModuleInfo, String) ActivityGenerator.GenerateFromModuleInfo(PSModuleInfo, String) Method

Definition

Generates a complete activity source file from a module.

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
activityNamespace
String String String

The namesspace to use for the target classes

Returns
String[]

An array of code elements to compile into an assembly

Applies to