Пример #1
0
        public override FilterType GetFilterType(IFileTreeNodeFilter filter)
        {
            var res = filter.GetResult(this);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            return(FilterType.CheckChildren);
        }
Пример #2
0
        public override FilterType GetFilterType(IFileTreeNodeFilter filter)
        {
            var res = filter.GetResult(this.EventDef);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            if (Context.Language.ShowMember(this.EventDef))
            {
                return(FilterType.Visible);
            }
            return(FilterType.Hide);
        }
Пример #3
0
        public override FilterType GetFilterType(IFileTreeNodeFilter filter)
        {
            var res = filter.GetResult(MethodDef);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            if (Context.Decompiler.ShowMember(MethodDef))
            {
                return(FilterType.Visible);
            }
            return(FilterType.Hide);
        }
Пример #4
0
        public override FilterType GetFilterType(IFileTreeNodeFilter filter)
        {
            var res = filter.GetResult(this);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            var type = TypeDef;

            if (type.IsNested && !Context.Language.ShowMember(type))
            {
                return(FilterType.Hide);
            }
            return(FilterType.Visible);
        }
Пример #5
0
        public override FilterType GetFilterType(IFileTreeNodeFilter filter)
        {
            var p      = TreeNode.Parent;
            var parent = p == null ? null : p.Data as IModuleFileNode;

            Debug.Assert(parent != null);
            if (parent == null)
            {
                return(FilterType.Default);
            }
            var res = filter.GetResult(Name, parent.DnSpyFile);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            return(FilterType.CheckChildren);
        }
Пример #6
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     var res = filter.GetResult(PropertyDef);
     if (res.FilterType != FilterType.Default)
         return res.FilterType;
     if (Context.Language.ShowMember(PropertyDef))
         return FilterType.Visible;
     return FilterType.Hide;
 }
Пример #7
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter) => filter.GetResult(AssemblyRef).FilterType;
Пример #8
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     var p = TreeNode.Parent;
     var parent = p == null ? null : p.Data as IModuleFileNode;
     Debug.Assert(parent != null);
     if (parent == null)
         return FilterType.Default;
     var res = filter.GetResult(Name, parent.DnSpyFile);
     if (res.FilterType != FilterType.Default)
         return res.FilterType;
     return FilterType.CheckChildren;
 }
Пример #9
0
 /// <inheritdoc/>
 public sealed override FilterType GetFilterType(IFileTreeNodeFilter filter) => filter.GetResult(this).FilterType;
Пример #10
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter) =>
 filter.GetResult(DnSpyFile).FilterType;
Пример #11
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return(filter.GetResult(assemblyRef).FilterType);
 }
Пример #12
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return filter.GetResult(assemblyRef).FilterType;
 }
Пример #13
0
 public virtual FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return filter.GetResult(this).FilterType;
 }
Пример #14
0
 public virtual FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return(filter.GetResult(this).FilterType);
 }
Пример #15
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     var res = filter.GetResult(this);
     if (res.FilterType != FilterType.Default)
         return res.FilterType;
     var type = TypeDef;
     if (type.IsNested && !Context.Language.ShowMember(type))
         return FilterType.Hide;
     return FilterType.Visible;
 }
Пример #16
0
		public override FilterType GetFilterType(IFileTreeNodeFilter filter) {
			return filter.GetResult(DnSpyFile).FilterType;
		}
Пример #17
0
 public override sealed FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return filter.GetResult(this).FilterType;
 }
Пример #18
0
 /// <inheritdoc/>
 public virtual FilterType GetFilterType(IFileTreeNodeFilter filter) => filter.GetResult(this).FilterType;
Пример #19
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return(filter.GetResult(DnSpyFile.AssemblyDef).FilterType);
 }
Пример #20
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return(filter.GetResult(this).FilterType);
 }
Пример #21
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter) =>
 filter.GetResult(ModuleRef).FilterType;
Пример #22
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return filter.GetResult(ModuleRef).FilterType;
 }
Пример #23
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     var res = filter.GetResult(this);
     if (res.FilterType != FilterType.Default)
         return res.FilterType;
     return FilterType.CheckChildren;
 }