Empeld
Empeld plugin documentation.
|
Classes | |
class | UnifiedVariable |
Public Member Functions | |
delegate void | UnifiedSetter (object obj, object val) |
delegate object | UnifiedGetter (object obj) |
Static Public Member Functions | |
static UnifiedVariable | GetUnifiedVariable (this PropertyInfo realProp) |
Turns a property into a unified variable More... | |
static UnifiedVariable | GetUnifiedVariable (this FieldInfo realField) |
Turns a field into a unified variable More... | |
static IEnumerable< UnifiedVariable > | GetMemberVars (this Type type, BindingFlags binding, Predicate< MemberInfo > predicate) |
Gets the members vars (Fields and Properties) of a type More... | |
static UnifiedVariable | GetMemberVar (this Type type, BindingFlags flags, string name) |
Get a property (takes precedence) or a field. Returns unified variable. if not found More... | |
static UnifiedVariable | GetMemberVar (this Type type, string name) |
Get a property (takes precedence) or a field with default binding flags. Returns null if not found More... | |
static IEnumerable< UnifiedVariable > | GetAllMemberVars (this Type type, Predicate< MemberInfo > predicate) |
Gets all member vars, including privates, of each class More... | |
static IEnumerable< Type > | GetImplementingClasses (this Type type) |
Gets all classes and superclasses, starting from the top-level class and going to base class More... | |
static IEnumerable< MethodInfo > | GetAllMethods (this Type type, Predicate< MethodInfo > predicate) |
Finds all methods in a type, included private ones, that satisfy the predicate More... | |
static IEnumerable< MethodInfo > | GetAllMethods (this Type type) |
Finds all methods in a type, included private ones, that satisfy the predicate More... | |
Public Attributes | |
const BindingFlags | DEFAULT_BINDING_FLAGS = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance |
|
static |
Gets all member vars, including privates, of each class
type | Type. |
predicate | Predicate. |
|
static |
Finds all methods in a type, included private ones, that satisfy the predicate
type | Type. |
predicate | Predicate. |
|
static |
Finds all methods in a type, included private ones, that satisfy the predicate
type | Type. |
|
static |
|
static |
Get a property (takes precedence) or a field. Returns unified variable. if not found
type | Type. |
flags | Flags. |
name | Name. |
|
static |
Get a property (takes precedence) or a field with default binding flags. Returns null if not found
type | Type. |
name | Name. |
|
static |
Gets the members vars (Fields and Properties) of a type
type | Type. |
binding | Binding. |
predicate | Predicate. |
|
static |
Turns a property into a unified variable
realProp | Real property. |
|
static |
Turns a field into a unified variable
realField | Real field. |
delegate object pluginbase.Helpers.Extensions.ReflectionExtensions.UnifiedGetter | ( | object | obj | ) |
delegate void pluginbase.Helpers.Extensions.ReflectionExtensions.UnifiedSetter | ( | object | obj, |
object | val | ||
) |
const BindingFlags pluginbase.Helpers.Extensions.ReflectionExtensions.DEFAULT_BINDING_FLAGS = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance |