Class PowershellMethod
Represents a parsed PowerShell method with its name, body content, and source line number.
public class PowershellMethod
- Inheritance
-
PowershellMethod
- Inherited Members
- Extension Methods
Constructors
PowershellMethod(string, string, int)
Creates a new PowershellMethod instance.
public PowershellMethod(string name, string content, int line)
Parameters
namestringMethod name including parameter signature.
contentstringFull body text of the method.
lineintStarting line number in the source file.
Properties
Content
Gets or sets the method body content.
public string Content { get; set; }
Property Value
Line
Gets or sets the starting line number in the source file.
public int Line { get; set; }
Property Value
Name
Gets or sets the method name.
public string Name { get; set; }