internal static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes.Length > 0 && nodes.All(n => n is PropertyTreeNode); }
internal static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes.Length > 0 && nodes.All(n => n is AssemblyTreeNode && !(n.Parent is AssemblyTreeNode)); }
internal static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes.Length > 0 && nodes.All(n => n is ResourceElementTreeNode); }
static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes.Length > 0 && nodes.All(n => n is TypeTreeNode) && FilterOutGlobalTypes(nodes).Length > 0; }
static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes.Length > 0 && nodes.All(n => n is MethodTreeNode); }
static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes != null && nodes.All(a => a is NamespaceTreeNode); }
static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes != null && nodes.Length > 0 && nodes.All(a => a is NamespaceTreeNode) && nodes.Any(a => ((NamespaceTreeNode)a).Name != string.Empty) && nodes.IsInSameModule() && nodes[0].Parent.Children.Any(a => a is NamespaceTreeNode && ((NamespaceTreeNode)a).Name == string.Empty); }
static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes != null && nodes.Length > 0 && nodes.All(n => n is AssemblyTreeNode && ((AssemblyTreeNode)n).IsNetModule); }
static bool IsVisible(ILSpyTreeNode[] nodes) { return nodes != null && nodes.Length > 0 && nodes.All(n => n is AssemblyTreeNode && ((AssemblyTreeNode)n).IsAssembly); }
static bool CanExecute(ILSpyTreeNode[] nodes) { return nodes != null && nodes.Length > 0 && nodes.All(n => n is AssemblyTreeNode && ((AssemblyTreeNode)n).IsAssembly && ((AssemblyTreeNode)n).LoadedAssembly.AssemblyDefinition.Modules.Count == 1); }