23 Type = instance.GetType();
69 return Members.
Contains(propName) || base.HasProperty(propName, caller);
Implements the Scope for the Script Engine.
Implements a Member Table for a specific Type, including a Caching Mechanism for Reflected Members to...
static BadReflectedMemberTable Create(Type t)
Creates a new Member Table for the given Type.
bool Contains(string name)
Returns true if the Member Table contains the given Member.
BadObjectReference GetMember(object instance, string name)
Returns a reference to the Member with the given Name.
Implements a Reflected Object.
override BadClassPrototype GetPrototype()
object Instance
The Instance of the Reflected Object.
BadReflectedObject(object instance)
Creates a new Reflected Object.
Type Type
The Type of the Reflected Object.
override string ToSafeString(List< BadObject > done)
override BadObjectReference GetProperty(string propName, BadScope? caller=null)
Returns a Reference to the Property with the given Name.The Property Reference
BadReflectedMemberTable Members
The Member Table for the Reflected Object.
static readonly BadClassPrototype Prototype
The Prototype for the Reflected Object Type.
override bool HasProperty(string propName, BadScope? caller=null)
Returns true if the object contains a given property or there exists an extension for the current Ins...
Implements a Reflected Object Prototype(not usable, just to satisfy the prototype chain)
The Base Class for all BadScript Objects.
virtual BadObjectReference GetProperty(string propName, BadScope? caller=null)
Returns a Reference to the Property with the given Name.
Implements the base functionality for a BadScript Reference.
Implements a Class Prototype for the BadScript Language.
Contains the Classes for Reflection Objects.
Contains Runtime Type Objects.
Contains the Runtime Objects.