Claymore.ArchiveWikiBot.ArchiveByPeriod.ArchiveByPeriod C# (CSharp) Method

ArchiveByPeriod() public method

public ArchiveByPeriod ( L10i l10i, string title, string directory, int days, string format, string header, IEnumerable lookForLines, IEnumerable onHold, string removeFromText, bool checkForResult, bool newSectionsDown, int minimalSize, int forcedArchivationDelay ) : System
l10i L10i
title string
directory string
days int
format string
header string
lookForLines IEnumerable
onHold IEnumerable
removeFromText string
checkForResult bool
newSectionsDown bool
minimalSize int
forcedArchivationDelay int
return System
        public ArchiveByPeriod(L10i l10i,
                               string title,
                               string directory,
                               int days,
                               string format,
                               string header,
                               IEnumerable<string> lookForLines,
                               IEnumerable<string> onHold,
                               string removeFromText,
                               bool checkForResult,
                               bool newSectionsDown,
                               int minimalSize,
                               int forcedArchivationDelay)
            : base(l10i, title, directory, days, format, header, lookForLines, onHold, removeFromText, checkForResult, newSectionsDown, minimalSize, forcedArchivationDelay)
        {
            Regex escapeChars = new Regex(@"([dfFghHKmMstyYz:/OoRrsuGTU])");
            Format = escapeChars.Replace(format, "\\$1");
            Format = Format.Replace("%(год)", "yyyy").Replace("%(месяц)", "MM");
        }