public void Set(SchedulerLocalization.Localizations locale, bool recurring) { this.Clear(); string[] strArray = this.translate[locale]; if (strArray.Length == 0) { return; } this._files.Add((!string.IsNullOrEmpty(this.Directory) ? this.Directory + "/" : "") + strArray[0], FileType.Local); if (!recurring || strArray.Length <= 1) { return; } this._files.Add((!string.IsNullOrEmpty(this.Directory) ? this.Directory + "/" : "") + strArray[1], FileType.Local); }
public void Set(SchedulerLocalization.Localizations locale) { this.Set(locale, true); }