/// <summary>Initialise the object.</summary>
        /// <param name="member"></param>
        protected NodeMemberInfo(MemberInfo member)
        {
            if (member == null)
                throw new ArgumentNullException("member");
            this.member = member;

            member.TryGetCustomAttribute(out categoryAttribute, true);
            member.TryGetCustomAttribute(out descriptionAttribute, true);
            member.TryGetCustomAttribute(out displayAttribute, true);
            member.TryGetCustomAttribute(out displayNameAttribute, true);
        }