Esempio n. 1
0
        public static char GetNamePrefix(this IGeneralRawMemberNode member)
        {
            if (member.HasValidMemberName())
            {
                return(Char.Parse(member.GetXmlMemberName().Substring(0, 1)));
            }

            return(' ');
        }
Esempio n. 2
0
        public static String GetNameId(this IGeneralRawMemberNode member)
        {
            if (!member.HasValidMemberName())
            {
                return(null);
            }

            var name = member.GetXmlMemberName();

            if (member.IsMethod() && name.IndexOf(')') < 0)
            {
                name += "()";
            }
            return(name.Substring(2));
        }