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; }
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); }
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"; }