Ejemplo n.º 1
0
 public VoterTally(ICacheOperation cacheOperation)
 {
     _cacheOperation  = cacheOperation;
     voterTallyDB     = new VoterTalleyDB();
     selfRegistration = new SelfRegistration(cacheOperation);
     voteCandidate    = new VoteCandidate(cacheOperation);
 }
Ejemplo n.º 2
0
        public DemoPresenter(IDemoView view)
        {
            _view      = view;
            _operation = new CacheOperation();
            DeviceCache cacheInstance = DeviceCache.GetInstance();

            cacheInstance.AddAction    += AddDeviceToView;
            cacheInstance.RemoveAction += RemoveDeviceFromView;
        }
Ejemplo n.º 3
0
 public VoteCandidate(ICacheOperation cacheOperation)
 {
     _cacheOperation = cacheOperation;
     //_toafcContextOptions = toafcContextOptions;
     voteCandidateDB = new VoteCandidateDB();
 }
Ejemplo n.º 4
0
 public VotePeriod(ICacheOperation cacheOperation)
 {
     _cacheOperation = cacheOperation;
     votePeriodDB    = new VotePeriodDB();
 }
Ejemplo n.º 5
0
 public VotePeriodController(ICacheOperation cacheOperation) //: base(toafcContextOptions, cacheOperation)
 {
     votePeriod = new VotePeriod(cacheOperation);
 }
Ejemplo n.º 6
0
 public SelfRegistrationController(ICacheOperation cacheOperation)
 {
     voterRegistration = new SelfRegistration(cacheOperation);
 }
Ejemplo n.º 7
0
 public SelfRegistration(ICacheOperation cacheOperation)
 {
     _cacheOperation    = cacheOperation;
     voteRegistrationDB = new SelfRegistrationDB();
 }
Ejemplo n.º 8
0
 public VotingEnabled(ICacheOperation cacheOperation)
 {
     _cacheOperation = cacheOperation;
 }
Ejemplo n.º 9
0
 public VoterTalleyController(ICacheOperation cacheOperation)
 {
     voterTally = new VoterTally(cacheOperation);
 }
Ejemplo n.º 10
0
 public BaseController(DbContextOptions <toafcContext> toafcContext = null, ICacheOperation cacheOperation = null)
 {
     _toafcContext   = toafcContext;
     _cacheOperation = cacheOperation;
 }
Ejemplo n.º 11
0
 public VotingEnabledController(ICacheOperation cacheOperation)
 {
     votingEnabled = new VotingEnabled(cacheOperation);
 }
Ejemplo n.º 12
0
 public VoterRegistration(ICacheOperation cacheOperation)
 {
     _cacheOperation    = cacheOperation;
     voteRegistrationDB = new VoteRegistrationDB();
 }
Ejemplo n.º 13
0
 public VoteCandidateController(ICacheOperation cacheOperation) //: base(toafcContextOptions, cacheOperation)
 {
     voteCandidate = new VoteCandidate(cacheOperation);
 }