PaxScript.Net.Reflection Namespace
Public Classes
- PaxObject
This class represents script-defined objects at run-time.
- Ancestor: System.Object
- Methods:
- public PaxType GetPaxType()
Returns type of object.
- public PaxObject Clone()
Creates a clone of object.
- public bool HasProperty(string PropName)
Returns 'true', if object has property 'PropName'.
- public void PutProperty(string PropName, object value)
Assigns value of property.
- public object GetProperty(string PropName)
Returns value of property.
- public object Invoke(string method_name, params object[] parameters)
Invokes method of object.
- PaxMemberInfo
The PaxMemberInfo class is the base class of the classes
used to obtain information for all members of a class
(constructors, events, fields, methods, and properties).
- Ancestor: System.Object
- Methods:
- public PaxMemberInfo LookupMember(string name)
Returns PaxMemberInfo object by name.
- Properties:
- public string Name
Returns name of member.
- public string FullName
Returns full name of member.
- public int Id
Returns id of member.
- public bool IsPublic
Returns 'true', if member is public.
- public bool IsProtected
Returns 'true', if member is protected.
- public bool IsPrivate
Returns 'true', if member is private.
- public bool IsStatic
Returns 'true', if member is static.
- PaxType
Represents a type in a script.
- Ancestor: PaxMemberInfo
- Methods:
- public PaxObject CreateObject(params object[] p)
Creates a script-defined object.
- public PaxNamespaceInfo[] GetNamespaces()
Returns array of nested namepaces. (The namespace in the paxScript representation is just a static class type).
- public PaxType[] GetClasses()
Returns array of nested classes.
- public PaxType[] GetDelegates()
Returns array of nested delegate types.
- public PaxType[] GetStructures()
Returns array of nested structure types.
- public PaxType[] GetArrays()
Returns array of nested array types.
- public PaxType[] GetEnums()
Returns array of nested enumeration types.
- public PaxType[] GetInterfaces()
Returns array of nested interface types.
- public PaxConstructorInfo[] GetConstructors()
Returns constructors of type.
- public PaxMethodInfo[] GetMethods()
Returns methods of type.
- public PaxFieldInfo[] GetFields()
Returns fields of type.
- public PaxPropertyInfo[] GetProperties()
Returns properties of type.
- public PaxEventInfo[] GetEvents()
Returns events of type.
- Properties:
- public bool Imported
Returns 'true', if type is host-defined.
- public bool IsClass
Returns 'true', if this is a class type.
- public bool IsStruct
Returns 'true', if this is a structure type.
- public bool IsEnum
Returns 'true', if this is a enumeration type.
- public bool IsArray
Returns 'true', if this is an array type.
- public bool IsDelegate
Returns 'true', if this is a delegate type.
- public bool IsInterface
Returns 'true', if this is an interface type.
- public PaxType AncestorClass
Returns ancestor classd type.
- PaxFieldInfo
Represents the field member information.
- Ancestor: PaxMemberInfo
- Properties:
- public PaxType FieldType
Returns type of field.
- PaxPropertyInfo
Represents the property member information.
- Ancestor: PaxMemberInfo
- Methods:
- public PaxMethodInfo GetGetMethod()
Returns 'get' method of property.
- public PaxMethodInfo GetSetMethod()
Returns 'set' method of property.
- Properties:
- public PaxType PropertyType
Returns type of property.
- PaxEventInfo
Represents the event member information.
- Ancestor: PaxMemberInfo
- Methods:
- public PaxMethodInfo GetAddMethod()
Returns 'add' method of event.
- public PaxMethodInfo GetRemovetMethod()
Returns 'remove' method of event.
- Properties:
- public PaxType EventType
Returns type of event.
- PaxMethodBase
The PaxMethodBase class is the base class of PaxMethodInfo and PaxConstructorInfo classes.
- Ancestor: PaxMemberInfo
- Methods:
- public PaxParameterInfo[] GetParameters()
Returns representation of parameters.
- PaxConstructorInfo
Represents a constructor of type.
- PaxMethodInfo
Represents a method of type.
- Ancestor: PaxMethodBase
- Methods:
- public object Invoke(object target, params object[] parameters)
Invokes method.
- Properties:
- public PaxType ReturnTypeInfo
Returns return type of method.
- PaxParameterInfo
Represents a parameter of method.
- Ancestor: System.Object
- Fields:
- public string Name
Name of parameter.
- public PaxType ParameterType
Type of parameter.
- Properties:
- public bool IsIn
Gets a value indicating whether this is an input parameter.
- public bool IsRetval
Gets a value indicating whether this is a Retval parameter.
- public bool IsOut
Gets a value indicating whether this is an output parameter.
- PaxNamespaceInfo
Represents a namespace. (Note, that in paxScript implementation the namespace is just a static class type).
- Ancestor: PaxType
- Methods:
- public static PaxNamespaceInfo GetNonameNamespaceInfo(PaxScripter scripter)
Returns root (noname) namespace.
- public static PaxNamespaceInfo LookupNamespace(PaxScripter scripter, string full_name)
Returns namespace by name.
- public PaxNamespaceInfo[] GetNamespaces()
Returns array of nested namespaces.
Copyright © 1999-2008
VIRT Laboratory. All rights reserved.