コード例 #1
0
 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;
        }
コード例 #3
0
 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;
 }
コード例 #4
0
        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;
        }