Inheritance: System.MarshalByRefObject
Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        public static XElement FindDocumentation(AbstractWrapper wrapper)
        {
            var ndoc = GetDocumentationInstance(wrapper.DocId);

            return(FindDocumentation(ndoc, wrapper));
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
 public static XElement FindDocumentation(AbstractWrapper wrapper)
 {
     var ndoc = GetDocumentationInstance(wrapper.DocId);
     return FindDocumentation(ndoc, wrapper);
 }