Наследование: MemberInfoWrapper
Пример #1
0
        public static XElement FindDocumentation(IDictionary<string, XElement> ndoc, EventInfoWrapper info)
        {
            var type = info.DeclaringType;
            var signature = string.Format("E:{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, EventInfoWrapper info)
        {
            var      type      = info.DeclaringType;
            var      signature = string.Format("E:{0}.{1}", type.FullName, info.Name);
            XElement element;

            if (!ndoc.TryGetValue(signature, out element))
            {
                return(null);
            }

            return(element);
        }
Пример #3
0
 public static string GenerateFilename(EventInfoWrapper info)
 {
     return(Fixup(string.Format("E_{0}_{1}", info.DeclaringType.Name, info.Name), info.DeclaringType) + ".html");
 }
Пример #4
0
 public static string GenerateFilename(EventInfoWrapper info)
 {
     return Fixup(string.Format("E_{0}_{1}_{2}", info.DeclaringType.Namespace, info.DeclaringType.Name, info.Name)) + ".html";
 }