Пример #1
0
 public override void Created()
 {
     foreach (ElectionRole role in _roles)
     {
         // Elect myself for all roles
         _clusterContext.elected(role.Name, _clusterContext.MyId, _clusterContext.MyId, 1);
     }
 }