示例#1
0
        private static IEnumerable <ObjectId> GetObjectIdsOfClusterNodes(ClusterNodesInfo nodes)
        {
            var ids = nodes.Vertices.Select(it => it.Id);

            return(ids.Distinct().ToArray());
        }
示例#2
0
 public ClusteredNodesCheckResult(ClusterNodesInfo clusteredNodes)
     : base(ActionType.SnapClustered, GetObjectIdsOfClusterNodes(clusteredNodes))
 {
     _clusteredNodes = clusteredNodes;
 }