Class ClassInstance
Assembly: RCaron.dll
View Source
Declarationcsharp
public sealed class ClassInstance : IDynamicMetaObjectProvider
Declarationcsharp
public sealed class ClassInstance : IDynamicMetaObjectProvider
Implements:
System.Dynamic.IDynamicMetaObjectProvider
Properties
Definition
View Source
Declarationcsharp
public ClassDefinition Definition { get; }
Declarationcsharp
public ClassDefinition Definition { get; }
PropertyValues
View Source
Declarationcsharp
public object?[]? PropertyValues { get; }
Declarationcsharp
public object?[]? PropertyValues { get; }
Methods
GetPropertyIndex(ReadOnlySpan<char>)
View Source
Declarationcsharp
public int GetPropertyIndex(ReadOnlySpan<char> name)
Declarationcsharp
public int GetPropertyIndex(ReadOnlySpan<char> name)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.ReadOnlySpan<System.Char> | name |
TryGetPropertyValue(ReadOnlySpan<char>, out object?)
View Source
Declarationcsharp
public bool TryGetPropertyValue(ReadOnlySpan<char> name, out object? value)
Declarationcsharp
public bool TryGetPropertyValue(ReadOnlySpan<char> name, out object? value)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.ReadOnlySpan<System.Char> | name |
System.Object | value |
ToString()
View Source
Declarationcsharp
public override string ToString()
Declarationcsharp
public override string ToString()
Returns
System.String
GetMetaObject(Expression)
View Source
Declarationcsharp
public DynamicMetaObject GetMetaObject(Expression parameter)
Declarationcsharp
public DynamicMetaObject GetMetaObject(Expression parameter)
Returns
System.Dynamic.DynamicMetaObject
Parameters
Type | Name |
---|---|
System.Linq.Expressions.Expression | parameter |
Implements
System.Dynamic.IDynamicMetaObjectProvider
Extension Methods
- System.Object.RCaron.ListEx.Expect``1
- RCaron.ListEx.NotNull(object?)