public NoteProcessingService() { handHistoryParserFactory = ServiceLocator.Current.GetInstance <IHandHistoryParserFactory>(); storageModel = ServiceLocator.Current.TryResolve <SingletonStorageModel>(); licenseService = ServiceLocator.Current.GetInstance <ILicenseService>(); InitializeLimits(); }
/// <summary> /// Initialize a new instance of <see cref="PlayerStatisticReImporter"/> /// </summary> protected PlayerStatisticReImporter(string playerStatisticDataFolder, string playerStatisticTempDataFolder, string playerStatisticBackupDataFolder, string playerStatisticOldDataFolder) { this.playerStatisticDataFolder = playerStatisticDataFolder; this.playerStatisticTempDataFolder = playerStatisticTempDataFolder; this.playerStatisticBackupDataFolder = playerStatisticBackupDataFolder; this.playerStatisticOldDataFolder = playerStatisticOldDataFolder; handHistoryParserFactory = ServiceLocator.Current.GetInstance <IHandHistoryParserFactory>(); playerStatisticRepository = ServiceLocator.Current.GetInstance <IPlayerStatisticRepository>(); }
protected IHandHistorySummaryParser GetSummmaryParser() { IHandHistoryParserFactory handHistoryParserFactory = Kernel.Get <IHandHistoryParserFactory>(); return(handHistoryParserFactory.GetHandHistorySummaryParser(Site)); }
protected IHandHistoryParser GetParser() { IHandHistoryParserFactory handHistoryParserFactory = Kernel.Get <IHandHistoryParserFactory>(); return(handHistoryParserFactory.GetFullHandHistoryParser(Site)); }