public CharacterMonthlyLogHeuristics(IPersistent<WurmCharacterLogsEntity> persistentData,
     MonthlyHeuristicsExtractorFactory monthlyHeuristicsExtractorFactory,
     IWurmCharacterLogFiles wurmCharacterLogFiles)
 {
     if (persistentData == null) throw new ArgumentNullException("persistentData");
     if (monthlyHeuristicsExtractorFactory == null) throw new ArgumentNullException("monthlyHeuristicsExtractorFactory");
     if (wurmCharacterLogFiles == null) throw new ArgumentNullException("wurmCharacterLogFiles");
     this.persistentData = persistentData;
     this.monthlyHeuristicsExtractorFactory = monthlyHeuristicsExtractorFactory;
     this.wurmCharacterLogFiles = wurmCharacterLogFiles;
 }
예제 #2
0
        public MonthlyLogFilesHeuristics([NotNull] IPersistentCollection heuristicsPersistentCollection,
            IWurmLogFiles wurmLogFiles,
            MonthlyHeuristicsExtractorFactory monthlyHeuristicsExtractorFactory)
        {
            if (heuristicsPersistentCollection == null)
                throw new ArgumentNullException("heuristicsPersistentCollection");
            if (wurmLogFiles == null) throw new ArgumentNullException("wurmLogFiles");
            if (monthlyHeuristicsExtractorFactory == null) throw new ArgumentNullException("monthlyHeuristicsExtractorFactory");

            this.heuristicsPersistentCollection = heuristicsPersistentCollection;
            this.wurmLogFiles = wurmLogFiles;
            this.monthlyHeuristicsExtractorFactory = monthlyHeuristicsExtractorFactory;
        }
 public CharacterMonthlyLogHeuristics(IPersistent <WurmCharacterLogsEntity> persistentData,
                                      MonthlyHeuristicsExtractorFactory monthlyHeuristicsExtractorFactory,
                                      IWurmCharacterLogFiles wurmCharacterLogFiles)
 {
     if (persistentData == null)
     {
         throw new ArgumentNullException(nameof(persistentData));
     }
     if (monthlyHeuristicsExtractorFactory == null)
     {
         throw new ArgumentNullException(nameof(monthlyHeuristicsExtractorFactory));
     }
     if (wurmCharacterLogFiles == null)
     {
         throw new ArgumentNullException(nameof(wurmCharacterLogFiles));
     }
     this.persistentData = persistentData;
     this.monthlyHeuristicsExtractorFactory = monthlyHeuristicsExtractorFactory;
     this.wurmCharacterLogFiles             = wurmCharacterLogFiles;
 }
        public MonthlyLogFilesHeuristics([NotNull] IPersistentCollection heuristicsPersistentCollection,
                                         IWurmLogFiles wurmLogFiles,
                                         MonthlyHeuristicsExtractorFactory monthlyHeuristicsExtractorFactory)
        {
            if (heuristicsPersistentCollection == null)
            {
                throw new ArgumentNullException(nameof(heuristicsPersistentCollection));
            }
            if (wurmLogFiles == null)
            {
                throw new ArgumentNullException(nameof(wurmLogFiles));
            }
            if (monthlyHeuristicsExtractorFactory == null)
            {
                throw new ArgumentNullException(nameof(monthlyHeuristicsExtractorFactory));
            }

            this.heuristicsPersistentCollection = heuristicsPersistentCollection;
            this.wurmLogFiles = wurmLogFiles;
            this.monthlyHeuristicsExtractorFactory = monthlyHeuristicsExtractorFactory;
        }