private IsDiagnosticsNode ( NodeState node ) : bool | ||
node | NodeState | |
Résultat | bool |
private bool IsDiagnosticsNode(NodeState node)
{
if (node == null)
{
return false;
}
if (!IsDiagnosticsStructureNode(node))
{
BaseInstanceState instance = node as BaseInstanceState;
if (instance == null)
{
return false;
}
return IsDiagnosticsStructureNode(instance.Parent);
}
return true;
}