Пример #1
0
 CreateAssemblyLinkedResourceCommand(ResourceListTreeNode rsrcListNode, ResourceTreeNode resTreeNode)
     : base(rsrcListNode, resTreeNode)
 {
 }
Пример #2
0
 CreateMultiFileResourceCommand(ResourceListTreeNode rsrcListNode, ResourceTreeNode resTreeNode)
     : base(rsrcListNode, resTreeNode)
 {
 }
Пример #3
0
 CreateFileResourceCommand(ResourceListTreeNode rsrcListNode, ResourceTreeNode[] nodes)
 {
     this.module = ILSpyTreeNode.GetModule(rsrcListNode);
     Debug.Assert(this.module != null);
     this.rsrcListNode = rsrcListNode;
     this.nodes = nodes;
 }
Пример #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);
		}
Пример #6
0
 public virtual TreeViewNodeFilterResult GetFilterResult(ResourceListTreeNode node)
 {
     return filter.GetFilterResult(node);
 }
Пример #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);
		}