Ejemplo n.º 1
0
        public static string FullName(this ICustomAttribute attribute)
        {
            FakeCustomAttribute fca = attribute as FakeCustomAttribute;

            if (fca != null)
            {
                return(fca.FullTypeName);
            }

            return(attribute.Type.FullName());
        }
Ejemplo n.º 2
0
        public static string DocId(this ICustomAttribute attribute)
        {
            FakeCustomAttribute fca = attribute as FakeCustomAttribute;

            if (fca != null)
            {
                return(fca.DocId);
            }

            return(attribute.Type.DocId());
        }