Inheritance: MemberInfoWrapper
        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;
        }
Exemple #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);
        }
Exemple #3
0
 public static string GenerateFilename(PropertyInfoWrapper info)
 {
     return(Fixup(string.Format("P_{0}_{1}", info.DeclaringType.Name, info.Name), info.DeclaringType) + ".html");
 }
 public static string GenerateFilename(PropertyInfoWrapper info)
 {
     return Fixup(string.Format("P_{0}_{1}_{2}", info.DeclaringType.Namespace, info.DeclaringType.Name, info.Name)) + ".html";
 }