예제 #1
0
 public void Execute(Cluster cluster, Policy policy)
 {
     if (clusterKey != 0)
     {
         if (!first)
         {
             QueryValidate.Validate(node, ns, clusterKey);
         }
         base.Execute(cluster, policy, true);
         QueryValidate.Validate(node, ns, clusterKey);
     }
     else
     {
         base.Execute(cluster, policy, true);
     }
 }
예제 #2
0
 public void ExecuteAndValidate()
 {
     if (clusterKey != 0)
     {
         if (!first)
         {
             QueryValidate.Validate(node, ns, clusterKey);
         }
         base.Execute();
         QueryValidate.Validate(node, ns, clusterKey);
     }
     else
     {
         base.Execute();
     }
 }