private static IEnumerable <ObjectId> GetObjectIdsOfClusterNodes(ClusterNodesInfo nodes) { var ids = nodes.Vertices.Select(it => it.Id); return(ids.Distinct().ToArray()); }
public ClusteredNodesCheckResult(ClusterNodesInfo clusteredNodes) : base(ActionType.SnapClustered, GetObjectIdsOfClusterNodes(clusteredNodes)) { _clusteredNodes = clusteredNodes; }