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