ReflectionUtil.GetAttrMember C# (CSharp) Method

GetAttrMember() public static method

public static GetAttrMember ( object rObject, string rMemberName, BindingFlags, rBindFlags ) : object
rObject object
rMemberName string
rBindFlags BindingFlags,
return object
    public static object GetAttrMember(object rObject, string rMemberName, BindingFlags rBindFlags)
    {
        if (rObject == null) return null;
        Type rType = rObject.GetType();
        return rType.InvokeMember(rMemberName, rBindFlags, null, rObject, new object[] { });
    }