|
|
@ -31,10 +31,10 @@ namespace Volo.Docs.Documents |
|
|
|
|
|
|
|
|
public virtual string LocalDirectory { get; set; } |
|
|
public virtual string LocalDirectory { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public virtual DateTime CreationTime { get; set; } |
|
|
|
|
|
|
|
|
public virtual DateTime LastUpdatedTime { get; set; } |
|
|
public virtual DateTime LastUpdatedTime { get; set; } |
|
|
|
|
|
|
|
|
public virtual int UpdatedCount { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public virtual DateTime LastCachedTime { get; set; } |
|
|
public virtual DateTime LastCachedTime { get; set; } |
|
|
|
|
|
|
|
|
public virtual List<DocumentContributor> Contributors { get; set; } |
|
|
public virtual List<DocumentContributor> Contributors { get; set; } |
|
|
@ -58,8 +58,8 @@ namespace Volo.Docs.Documents |
|
|
[NotNull] string rootUrl, |
|
|
[NotNull] string rootUrl, |
|
|
[NotNull] string rawRootUrl, |
|
|
[NotNull] string rawRootUrl, |
|
|
[NotNull] string localDirectory, |
|
|
[NotNull] string localDirectory, |
|
|
|
|
|
DateTime creationTime, |
|
|
DateTime lastUpdatedTime, |
|
|
DateTime lastUpdatedTime, |
|
|
int updatedCount, |
|
|
|
|
|
DateTime lastCachedTime |
|
|
DateTime lastCachedTime |
|
|
) |
|
|
) |
|
|
{ |
|
|
{ |
|
|
@ -76,8 +76,9 @@ namespace Volo.Docs.Documents |
|
|
RootUrl = Check.NotNullOrWhiteSpace(rootUrl, nameof(rootUrl)); |
|
|
RootUrl = Check.NotNullOrWhiteSpace(rootUrl, nameof(rootUrl)); |
|
|
RawRootUrl = Check.NotNullOrWhiteSpace(rawRootUrl, nameof(rawRootUrl)); |
|
|
RawRootUrl = Check.NotNullOrWhiteSpace(rawRootUrl, nameof(rawRootUrl)); |
|
|
LocalDirectory = Check.NotNull(localDirectory, nameof(localDirectory)); |
|
|
LocalDirectory = Check.NotNull(localDirectory, nameof(localDirectory)); |
|
|
|
|
|
|
|
|
|
|
|
CreationTime = creationTime; |
|
|
LastUpdatedTime = lastUpdatedTime; |
|
|
LastUpdatedTime = lastUpdatedTime; |
|
|
UpdatedCount = updatedCount; |
|
|
|
|
|
LastCachedTime = lastCachedTime; |
|
|
LastCachedTime = lastCachedTime; |
|
|
|
|
|
|
|
|
Contributors = new List<DocumentContributor>(); |
|
|
Contributors = new List<DocumentContributor>(); |
|
|
|