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)); }
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); } } }
public static Icons GetNamespaceImageIndex(NamespaceWrapper @namespace) { return Icons.PublicNamespace; }
public static Icons GetNamespaceImageIndex(NamespaceWrapper @namespace) { return(Icons.PublicNamespace); }