Added background automatic rebuilding at startup.
This commit is contained in:
parent
554d9c41ab
commit
6f63e7cb95
3 changed files with 34 additions and 0 deletions
|
@ -1163,6 +1163,20 @@ namespace ScrewTurn.Wiki {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the last page indexing.
|
||||
/// </summary>
|
||||
/// <value>The last page indexing DateTime.</value>
|
||||
public static DateTime LastPageIndexing {
|
||||
get {
|
||||
return DateTime.ParseExact(GetString(Provider.GetSetting("LastPageIndexing"), DateTime.Now.AddYears(-10).ToString("yyyyMMddHHmmss")),
|
||||
"yyyyMMddHHmmss", System.Globalization.CultureInfo.InvariantCulture);
|
||||
}
|
||||
set {
|
||||
Provider.SetSetting("LastPageIndexing", value.ToString("yyyyMMddHHmmss"));
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue