Class Member
Syntax
[SerializationVersion("A", new Type[]{})]
public sealed class Member : ISerializationCallbackReceiver
Constructors
Member()
Declaration
[Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.")]
public Member()
Member(Type, ConstructorInfo)
Declaration
public Member(Type targetType, ConstructorInfo constructorInfo)
Parameters
Member(Type, FieldInfo)
Declaration
public Member(Type targetType, FieldInfo fieldInfo)
Parameters
Member(Type, MethodInfo)
Declaration
public Member(Type targetType, MethodInfo methodInfo)
Parameters
Member(Type, PropertyInfo)
Declaration
public Member(Type targetType, PropertyInfo propertyInfo)
Parameters
Member(Type, String, Type[])
Declaration
public Member(Type targetType, string name, Type[] parameterTypes = null)
Parameters
Type |
Name |
Description |
Type |
targetType |
|
String |
name |
|
Type[] |
parameterTypes |
|
Fields
SupportedBindingFlags
Declaration
public const BindingFlags SupportedBindingFlags = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy
Field Value
SupportedMemberTypes
Declaration
public const MemberTypes SupportedMemberTypes = MemberTypes.Constructor | MemberTypes.Field | MemberTypes.Method | MemberTypes.Property
Field Value
Properties
allowsNull
Declaration
public bool allowsNull { get; }
Property Value
constructorInfo
Declaration
[DoNotSerialize]
public ConstructorInfo constructorInfo { get; }
Property Value
declaringType
Declaration
public Type declaringType { get; }
Property Value
fieldInfo
Declaration
[DoNotSerialize]
public FieldInfo fieldInfo { get; }
Property Value
info
Declaration
public MemberInfo info { get; }
Property Value
isAccessor
Declaration
public bool isAccessor { get; }
Property Value
isConstructor
Declaration
public bool isConstructor { get; }
Property Value
isConversion
Declaration
public bool isConversion { get; }
Property Value
isCoroutine
Declaration
public bool isCoroutine { get; }
Property Value
isExtension
Declaration
[DoNotSerialize]
public bool isExtension { get; }
Property Value
isField
Declaration
public bool isField { get; }
Property Value
isGettable
Declaration
public bool isGettable { get; }
Property Value
isIndexer
Declaration
public bool isIndexer { get; }
Property Value
isInherited
Declaration
public bool isInherited { get; }
Property Value
isInvocable
Declaration
public bool isInvocable { get; }
Property Value
isInvokedAsExtension
Declaration
[DoNotSerialize]
public bool isInvokedAsExtension { get; }
Property Value
isMethod
Declaration
public bool isMethod { get; }
Property Value
isOperator
Declaration
public bool isOperator { get; }
Property Value
isPredictable
Declaration
public bool isPredictable { get; }
Property Value
isProperty
Declaration
public bool isProperty { get; }
Property Value
isPseudoInherited
Declaration
public bool isPseudoInherited { get; }
Property Value
isPubliclyGettable
Declaration
public bool isPubliclyGettable { get; }
Property Value
isPubliclyInvocable
Declaration
public bool isPubliclyInvocable { get; }
Property Value
isPubliclySettable
Declaration
public bool isPubliclySettable { get; }
Property Value
isReflected
Declaration
[DoNotSerialize]
public bool isReflected { get; }
Property Value
isSettable
Declaration
public bool isSettable { get; }
Property Value
isYieldInstruction
Declaration
public bool isYieldInstruction { get; }
Property Value
methodBase
Declaration
public MethodBase methodBase { get; }
Property Value
methodInfo
Declaration
[DoNotSerialize]
public MethodInfo methodInfo { get; }
Property Value
name
Declaration
[DoNotSerialize]
public string name { get; }
Property Value
order
Declaration
public int order { get; }
Property Value
parameterTypes
Declaration
[DoNotSerialize]
public Type[] parameterTypes { get; }
Property Value
propertyInfo
Declaration
[DoNotSerialize]
public PropertyInfo propertyInfo { get; }
Property Value
pseudoDeclaringType
Declaration
public Type pseudoDeclaringType { get; }
Property Value
requiresTarget
Declaration
public bool requiresTarget { get; }
Property Value
source
Declaration
[DoNotSerialize]
public Member.Source source { get; }
Property Value
targetType
Declaration
[DoNotSerialize]
public Type targetType { get; }
Property Value
targetTypeName
Declaration
[DoNotSerialize]
public string targetTypeName { get; }
Property Value
type
Declaration
public Type type { get; }
Property Value
Methods
EnsureReady(Object)
Declaration
public void EnsureReady(object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
EnsureReflected()
Declaration
public void EnsureReflected()
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Get(Object)
Declaration
public object Get(object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
Get<T>(Object)
Declaration
public T Get<T>(object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
Type Parameters
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetParameterInfos()
Declaration
public IEnumerable<ParameterInfo> GetParameterInfos()
Returns
Invoke(Object)
Declaration
public object Invoke(object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
Invoke(Object, Object)
Declaration
public object Invoke(object target, object arg0)
Parameters
Returns
Invoke(Object, Object, Object)
Declaration
public object Invoke(object target, object arg0, object arg1)
Parameters
Returns
Invoke(Object, Object, Object, Object)
Declaration
public object Invoke(object target, object arg0, object arg1, object arg2)
Parameters
Returns
Invoke(Object, Object, Object, Object, Object)
Declaration
public object Invoke(object target, object arg0, object arg1, object arg2, object arg3)
Parameters
Returns
Invoke(Object, Object, Object, Object, Object, Object)
Declaration
public object Invoke(object target, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
Returns
Invoke(Object, Object[])
Declaration
public object Invoke(object target, params object[] arguments)
Parameters
Returns
Invoke<T>(Object)
Declaration
public T Invoke<T>(object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
Type Parameters
Invoke<T>(Object, Object)
Declaration
public T Invoke<T>(object target, object arg0)
Parameters
Returns
Type Parameters
Invoke<T>(Object, Object, Object)
Declaration
public T Invoke<T>(object target, object arg0, object arg1)
Parameters
Returns
Type Parameters
Invoke<T>(Object, Object, Object, Object)
Declaration
public T Invoke<T>(object target, object arg0, object arg1, object arg2)
Parameters
Returns
Type Parameters
Invoke<T>(Object, Object, Object, Object, Object)
Declaration
public T Invoke<T>(object target, object arg0, object arg1, object arg2, object arg3)
Parameters
Returns
Type Parameters
Invoke<T>(Object, Object, Object, Object, Object, Object)
Declaration
public T Invoke<T>(object target, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
Returns
Type Parameters
Invoke<T>(Object, Object[])
Declaration
public T Invoke<T>(object target, params object[] arguments)
Parameters
Returns
Type Parameters
IsGettable(Boolean)
Declaration
public bool IsGettable(bool nonPublic)
Parameters
Type |
Name |
Description |
Boolean |
nonPublic |
|
Returns
IsInvocable(Boolean)
Declaration
public bool IsInvocable(bool nonPublic)
Parameters
Type |
Name |
Description |
Boolean |
nonPublic |
|
Returns
IsSettable(Boolean)
Declaration
public bool IsSettable(bool nonPublic)
Parameters
Type |
Name |
Description |
Boolean |
nonPublic |
|
Returns
Prewarm()
Declaration
Reflect()
Declaration
Set(Object, Object)
Declaration
public object Set(object target, object value)
Parameters
Returns
ToDeclarer()
Declaration
public Member ToDeclarer()
Returns
ToPseudoDeclarer()
Declaration
public Member ToPseudoDeclarer()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
ToUniqueString()
Declaration
public string ToUniqueString()
Returns
Operators
Equality(Member, Member)
Declaration
public static bool operator ==(Member a, Member b)
Parameters
Returns
Inequality(Member, Member)
Declaration
public static bool operator !=(Member a, Member b)
Parameters
Returns
Explicit Interface Implementations
ISerializationCallbackReceiver.OnAfterDeserialize()
Declaration
void ISerializationCallbackReceiver.OnAfterDeserialize()
Implements
ISerializationCallbackReceiver.OnBeforeSerialize()
Declaration
void ISerializationCallbackReceiver.OnBeforeSerialize()
Implements
Extension Methods