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