Example #1
0
 public override void Init(SubsystemConfig config)
 {
     _config            = (VotingResultManagerConfig)config;
     _fileSystemManager = Application.GetSubsystemOrThrow <IFileSystemManager>();
     _electionManager   = Application.GetSubsystemOrThrow <IElectionManager>();
     _scannersInfo      = Application.FindSubsystemImplementsInterfaceOrThrow <IScannersInfo>();
 }
Example #2
0
 public override void ApplyNewConfig(SubsystemConfig newConfig)
 {
     _config = (VotingResultManagerConfig)newConfig;
 }