跳到主要内容
版本:Next

Class ClassInstance

Assembly: RCaron.dll
View Source
Declaration
csharp
public sealed class ClassInstance : IDynamicMetaObjectProvider
Declaration
csharp
public sealed class ClassInstance : IDynamicMetaObjectProvider

Implements:
System.Dynamic.IDynamicMetaObjectProvider

Properties

Definition

View Source
Declaration
csharp
public ClassDefinition Definition { get; }
Declaration
csharp
public ClassDefinition Definition { get; }

PropertyValues

View Source
Declaration
csharp
public object?[]? PropertyValues { get; }
Declaration
csharp
public object?[]? PropertyValues { get; }

Methods

GetPropertyIndex(ReadOnlySpan<char>)

View Source
Declaration
csharp
public int GetPropertyIndex(ReadOnlySpan<char> name)
Declaration
csharp
public int GetPropertyIndex(ReadOnlySpan<char> name)
Returns

System.Int32

Parameters
TypeName
System.ReadOnlySpan<System.Char>name

TryGetPropertyValue(ReadOnlySpan<char>, out object?)

View Source
Declaration
csharp
public bool TryGetPropertyValue(ReadOnlySpan<char> name, out object? value)
Declaration
csharp
public bool TryGetPropertyValue(ReadOnlySpan<char> name, out object? value)
Returns

System.Boolean

Parameters
TypeName
System.ReadOnlySpan<System.Char>name
System.Objectvalue

ToString()

View Source
Declaration
csharp
public override string ToString()
Declaration
csharp
public override string ToString()
Returns

System.String

GetMetaObject(Expression)

View Source
Declaration
csharp
public DynamicMetaObject GetMetaObject(Expression parameter)
Declaration
csharp
public DynamicMetaObject GetMetaObject(Expression parameter)
Returns

System.Dynamic.DynamicMetaObject

Parameters
TypeName
System.Linq.Expressions.Expressionparameter

Implements

  • System.Dynamic.IDynamicMetaObjectProvider

Extension Methods