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