ActivityGenerator.GenerateFromModuleInfo Method

Definition

Generates a complete activity source file from a module.

public static string[] GenerateFromModuleInfo (System.Management.Automation.PSModuleInfo moduleToProcess, string activityNamespace);
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