本文整理汇总了C#中ICSharpCode.ILSpy.TreeNodes.ILSpyTreeNode.All方法的典型用法代码示例。如果您正苦于以下问题:C# ILSpyTreeNode.All方法的具体用法?C# ILSpyTreeNode.All怎么用?C# ILSpyTreeNode.All使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ICSharpCode.ILSpy.TreeNodes.ILSpyTreeNode
的用法示例。
在下文中一共展示了ILSpyTreeNode.All方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CanExecute
internal static bool CanExecute(ILSpyTreeNode[] nodes)
{
return nodes.Length > 0 &&
nodes.All(n => n is PropertyTreeNode);
}
示例2: CanExecute
internal static bool CanExecute(ILSpyTreeNode[] nodes)
{
return nodes.Length > 0 &&
nodes.All(n => n is AssemblyTreeNode && !(n.Parent is AssemblyTreeNode));
}
示例3: CanExecute
internal static bool CanExecute(ILSpyTreeNode[] nodes)
{
return nodes.Length > 0 &&
nodes.All(n => n is ResourceElementTreeNode);
}
示例4: CanExecute
static bool CanExecute(ILSpyTreeNode[] nodes) {
return nodes.Length > 0 &&
nodes.All(n => n is TypeTreeNode) &&
FilterOutGlobalTypes(nodes).Length > 0;
}
示例5: CanExecute
static bool CanExecute(ILSpyTreeNode[] nodes) {
return nodes.Length > 0 &&
nodes.All(n => n is MethodTreeNode);
}
示例6: CanExecute
static bool CanExecute(ILSpyTreeNode[] nodes) {
return nodes != null &&
nodes.All(a => a is NamespaceTreeNode);
}
示例7: CanExecute
static bool CanExecute(ILSpyTreeNode[] nodes)
{
return nodes != null &&
nodes.Length > 0 &&
nodes.All(n => n is AssemblyTreeNode && ((AssemblyTreeNode)n).IsNetModule);
}
示例8: IsVisible
static bool IsVisible(ILSpyTreeNode[] nodes)
{
return nodes != null &&
nodes.Length > 0 &&
nodes.All(n => n is AssemblyTreeNode && ((AssemblyTreeNode)n).IsAssembly);
}