Table of Contents

Class PowershellMethod

Namespace
SunamoPS.Data
Assembly
SunamoPS.dll

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

name string

Method name including parameter signature.

content string

Full body text of the method.

line int

Starting line number in the source file.

Properties

Content

Gets or sets the method body content.

public string Content { get; set; }

Property Value

string

Line

Gets or sets the starting line number in the source file.

public int Line { get; set; }

Property Value

int

Name

Gets or sets the method name.

public string Name { get; set; }

Property Value

string