Inheritance: MemberInfoWrapper
Ejemplo n.º 1
0
        public static XElement FindDocumentation(IDictionary<string, XElement> ndoc, PropertyInfoWrapper info)
        {
            var type = info.DeclaringType;
            var signature = string.Format("P:{0}.{1}", type.FullName, info.Name);
            XElement element;
            if (!ndoc.TryGetValue(signature, out element))
                return null;

            return element;
        }
Ejemplo n.º 2
0
        public static XElement FindDocumentation(IDictionary <string, XElement> ndoc, PropertyInfoWrapper info)
        {
            var      type      = info.DeclaringType;
            var      signature = string.Format("P:{0}.{1}", type.FullName, info.Name);
            XElement element;

            if (!ndoc.TryGetValue(signature, out element))
            {
                return(null);
            }

            return(element);
        }
Ejemplo n.º 3
0
 public static string GenerateFilename(PropertyInfoWrapper info)
 {
     return(Fixup(string.Format("P_{0}_{1}", info.DeclaringType.Name, info.Name), info.DeclaringType) + ".html");
 }
Ejemplo n.º 4
0
 public static string GenerateFilename(PropertyInfoWrapper info)
 {
     return Fixup(string.Format("P_{0}_{1}_{2}", info.DeclaringType.Namespace, info.DeclaringType.Name, info.Name)) + ".html";
 }