Show / Hide Table of Contents

Interface IUserDataMemberDescriptor

Interface used by standard descriptors to access members of a given type from scripts.

Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public interface IUserDataMemberDescriptor

Properties

IsStatic

Declaration
bool IsStatic { get; }
Property Value
System.Boolean

MemberType

Gets the type of the member.

Declaration
UserDataMemberType MemberType { get; }
Property Value
UserDataMemberType

The type of the member.

Name

Gets the name of the descriptor (usually, the name of the type described).

Declaration
string Name { get; }
Property Value
System.String

Type

Gets the type this descriptor refers to

Declaration
Type Type { get; }
Property Value
Type

Methods

GetValue(Script, Object)

Gets the value of the member

Declaration
DynValue GetValue(Script script, object obj)
Parameters
Script script

The script.

System.Object obj

The object.

Returns
DynValue

Optimize()

Declaration
void Optimize()

SetValue(Script, Object, DynValue)

Sets the value of the member

Declaration
bool SetValue(Script script, object obj, DynValue value)
Parameters
Script script

The script.

System.Object obj

The object.

DynValue value

The value.

Returns
System.Boolean

Back to top Built by Itinero, MIT licensed.