Пример #1
0
 public override bool Equals(object obj)
 {
     if (obj is NamespaceWrapper)
     {
         NamespaceWrapper other = obj as NamespaceWrapper;
         return((modef.Equals(other.modef)) && (@namespace == other.@namespace));
     }
     return(base.Equals(obj));
 }
Пример #2
0
 public void VisitTypeDefinitionCollection(TypeDefinitionCollection types)
 {
     foreach (TypeDefinition typedef in types)
     {
         if ((typedef.Attributes & TypeAttributes.VisibilityMask) <= TypeAttributes.Public)
         {
             NamespaceWrapper wrapper = new NamespaceWrapper(typedef.Module, typedef.Namespace);
             AppendNode(typedef.Module, wrapper, true);
             AppendNode(wrapper, typedef, true);
         }
     }
 }
Пример #3
0
 public static Icons GetNamespaceImageIndex(NamespaceWrapper @namespace)
 {
     return Icons.PublicNamespace;
 }
Пример #4
0
 public static Icons GetNamespaceImageIndex(NamespaceWrapper @namespace)
 {
     return(Icons.PublicNamespace);
 }
 public void VisitTypeDefinitionCollection(TypeDefinitionCollection types)
 {
     foreach (TypeDefinition typedef in types)
     {
         if ((typedef.Attributes & TypeAttributes.VisibilityMask) <= TypeAttributes.Public)
         {
             NamespaceWrapper wrapper = new NamespaceWrapper(typedef.Module, typedef.Namespace);
             AppendNode(typedef.Module, wrapper, true);
             AppendNode(wrapper, typedef, true);
         }
     }
 }