Exemplo n.º 1
0
 CreateAssemblyLinkedResourceCommand(ResourceListTreeNode rsrcListNode, ResourceTreeNode resTreeNode)
     : base(rsrcListNode, resTreeNode)
 {
 }
Exemplo n.º 2
0
 CreateMultiFileResourceCommand(ResourceListTreeNode rsrcListNode, ResourceTreeNode resTreeNode)
     : base(rsrcListNode, resTreeNode)
 {
 }
Exemplo n.º 3
0
 CreateFileResourceCommand(ResourceListTreeNode rsrcListNode, ResourceTreeNode[] nodes)
 {
     this.module = ILSpyTreeNode.GetModule(rsrcListNode);
     Debug.Assert(this.module != null);
     this.rsrcListNode = rsrcListNode;
     this.nodes = nodes;
 }
Exemplo n.º 4
0
 protected CreateResourceTreeNodeCommand(ResourceListTreeNode rsrcListNode, ResourceTreeNode resTreeNode)
 {
     this.module = ILSpyTreeNode.GetModule(rsrcListNode);
     Debug.Assert(this.module != null);
     this.rsrcListNode = rsrcListNode;
     this.resTreeNode = resTreeNode;
 }
		public virtual TreeViewNodeFilterResult GetFilterResult(ResourceListTreeNode node) {
			return new TreeViewNodeFilterResult(FilterResult.Hidden, false);
		}
Exemplo n.º 6
0
 public virtual TreeViewNodeFilterResult GetFilterResult(ResourceListTreeNode node)
 {
     return filter.GetFilterResult(node);
 }
Exemplo n.º 7
0
		public override TreeViewNodeFilterResult GetFilterResult(ResourceListTreeNode node) {
			var visibleFlags = VisibleMembersFlags.ResourceList | VisibleMembersFlags.Resource |
								VisibleMembersFlags.ResourceElement;
			bool isMatch = (flags & VisibleMembersFlags.ResourceList) != 0;
			if ((flags & visibleFlags) == 0)
				return new TreeViewNodeFilterResult(FilterResult.Hidden, isMatch);
			if (isMatch)
				return new TreeViewNodeFilterResult(FilterResult.Match, isMatch);
			return new TreeViewNodeFilterResult(FilterResult.Recurse, isMatch);
		}