跳到主要内容
版本:0.1.0

Class ClassFunctionScope

Assembly: RCaron.dll
View Source
Declaration
csharp
public class ClassFunctionScope : ClassStaticFunctionScope
Declaration
csharp
public class ClassFunctionScope : ClassStaticFunctionScope

Inheritance: System.Object -> RCaron.LocalScope -> RCaron.ClassStaticFunctionScope

Properties

ClassInstance

View Source
Declaration
csharp
public ClassInstance ClassInstance { get; }
Declaration
csharp
public ClassInstance ClassInstance { get; }

Methods

GetVariable(string)

View Source
Declaration
csharp
public override object? GetVariable(string name)
Declaration
csharp
public override object? GetVariable(string name)
Returns

System.Object

Parameters
TypeName
System.Stringname

TryGetVariable(string, out object?)

View Source
Declaration
csharp
public override bool TryGetVariable(string name, out object? value)
Declaration
csharp
public override bool TryGetVariable(string name, out object? value)
Returns

System.Boolean

Parameters
TypeName
System.Stringname
System.Objectvalue

SetVariable(string, in object?)

View Source
Declaration
csharp
public override void SetVariable(string name, in object? value)
Declaration
csharp
public override void SetVariable(string name, in object? value)
Parameters
TypeName
System.Stringname
System.Objectvalue

VariableExists(string)

View Source
Declaration
csharp
public override bool VariableExists(string name)
Declaration
csharp
public override bool VariableExists(string name)
Returns

System.Boolean

Parameters
TypeName
System.Stringname

GetVariableRef(string)

View Source
Declaration
csharp
public override ref object? GetVariableRef(string name)
Declaration
csharp
public override ref object? GetVariableRef(string name)
Returns

System.Object

Parameters
TypeName
System.Stringname

Extension Methods