상속: System.MarshalByRefObject
예제 #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;
        }
예제 #2
0
        public static XElement FindDocumentation(AbstractWrapper wrapper)
        {
            var ndoc = GetDocumentationInstance(wrapper.DocId);

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