Table of Contents

Class BaseObject

Namespace
Dynamitey.DynamicObjects
Assembly
Dynamitey.Community.dll

Dynamic Object that knows about the ImpromptuInterface return types; Override Typical Dynamic Object methods, and use TypeForName to get the return type of an interface member.

public abstract class BaseObject : DynamicObject, IDynamicMetaObjectProvider, IEquivalentType
Inheritance
BaseObject
Implements
Derived
Inherited Members

Constructors

BaseObject()

Initializes a new instance of the BaseObject class.

[RequiresDynamicCode("Constructing any BaseObject-derived type instantiates System.Dynamic.DynamicObject, whose default constructor requires the DLR's runtime code generation; not supported when AOT-compiled.")]
protected BaseObject()

Methods

TryTypeForName(string, out Type?)

Tries the name of the member to see if it has a type.

[RequiresUnreferencedCode("Calls the annotated FauxType.GetMember, which for a RealType reflects over its target's members by name; trimming can remove the member being resolved.")]
public bool TryTypeForName(string binderName, out Type? type)

Parameters

binderName string

Name of the binder.

type Type

The type.

Returns

bool