public static XElement FindDocumentation(IDictionary<string, XElement> ndoc, AbstractWrapper wrapper) { if (ndoc == null) return null; if (wrapper is TypeWrapper) return FindDocumentation(ndoc, (TypeWrapper)wrapper); if (wrapper is PropertyInfoWrapper) return FindDocumentation(ndoc, (PropertyInfoWrapper)wrapper); if (wrapper is MethodInfoWrapper) return FindDocumentation(ndoc, (MethodInfoWrapper)wrapper); if (wrapper is ConstructorInfoWrapper) return FindDocumentation(ndoc, (ConstructorInfoWrapper)wrapper); if (wrapper is FieldInfoWrapper) return FindDocumentation(ndoc, (FieldInfoWrapper)wrapper); return null; }
public static XElement FindDocumentation(AbstractWrapper wrapper) { var ndoc = GetDocumentationInstance(wrapper.DocId); return(FindDocumentation(ndoc, wrapper)); }
public static XElement FindDocumentation(IDictionary <string, XElement> ndoc, AbstractWrapper wrapper) { if (ndoc == null) { return(null); } if (wrapper is TypeWrapper) { return(FindDocumentation(ndoc, (TypeWrapper)wrapper)); } if (wrapper is PropertyInfoWrapper) { return(FindDocumentation(ndoc, (PropertyInfoWrapper)wrapper)); } if (wrapper is MethodInfoWrapper) { return(FindDocumentation(ndoc, (MethodInfoWrapper)wrapper)); } if (wrapper is ConstructorInfoWrapper) { return(FindDocumentation(ndoc, (ConstructorInfoWrapper)wrapper)); } if (wrapper is FieldInfoWrapper) { return(FindDocumentation(ndoc, (FieldInfoWrapper)wrapper)); } return(null); }
public static XElement FindDocumentation(AbstractWrapper wrapper) { var ndoc = GetDocumentationInstance(wrapper.DocId); return FindDocumentation(ndoc, wrapper); }