Esempio n. 1
0
        public override FilterType GetFilterType(IFileTreeNodeFilter filter)
        {
            var res = filter.GetResult(this);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            return(FilterType.CheckChildren);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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;
 }
Esempio n. 7
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter) => filter.GetResult(AssemblyRef).FilterType;
Esempio n. 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;
 }
Esempio n. 9
0
 /// <inheritdoc/>
 public sealed override FilterType GetFilterType(IFileTreeNodeFilter filter) => filter.GetResult(this).FilterType;
Esempio n. 10
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter) =>
 filter.GetResult(DnSpyFile).FilterType;
Esempio n. 11
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return(filter.GetResult(assemblyRef).FilterType);
 }
Esempio n. 12
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return filter.GetResult(assemblyRef).FilterType;
 }
Esempio n. 13
0
 public virtual FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return filter.GetResult(this).FilterType;
 }
Esempio n. 14
0
 public virtual FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return(filter.GetResult(this).FilterType);
 }
Esempio n. 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;
 }
Esempio n. 16
0
		public override FilterType GetFilterType(IFileTreeNodeFilter filter) {
			return filter.GetResult(DnSpyFile).FilterType;
		}
Esempio n. 17
0
 public override sealed FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return filter.GetResult(this).FilterType;
 }
Esempio n. 18
0
 /// <inheritdoc/>
 public virtual FilterType GetFilterType(IFileTreeNodeFilter filter) => filter.GetResult(this).FilterType;
Esempio n. 19
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return(filter.GetResult(DnSpyFile.AssemblyDef).FilterType);
 }
Esempio n. 20
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return(filter.GetResult(this).FilterType);
 }
Esempio n. 21
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter) =>
 filter.GetResult(ModuleRef).FilterType;
Esempio n. 22
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     return filter.GetResult(ModuleRef).FilterType;
 }
Esempio n. 23
0
 public override FilterType GetFilterType(IFileTreeNodeFilter filter)
 {
     var res = filter.GetResult(this);
     if (res.FilterType != FilterType.Default)
         return res.FilterType;
     return FilterType.CheckChildren;
 }