diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2018-12-10 06:20:38 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2018-12-10 08:42:40 +0300 |
commit | 5daf35d4f550e7f75a17055ba4130302a9c27390 (patch) | |
tree | edae2a8c6638d82ce8a5a7299702924bae7c156f /Duplicati/Library/Interface | |
parent | 308410650b3802bf0ae7e5cf99d616c942678dc0 (diff) |
Use interface inheritance to remove write-only properites.
The one class that implements these interfaces, BasicResults, requires
both read and write access to these properties. As such, we might as
well declare the getter and setter in the interface.
Diffstat (limited to 'Duplicati/Library/Interface')
-rw-r--r-- | Duplicati/Library/Interface/ResultInterfaces.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Duplicati/Library/Interface/ResultInterfaces.cs b/Duplicati/Library/Interface/ResultInterfaces.cs index 3e582c304..e040449bd 100644 --- a/Duplicati/Library/Interface/ResultInterfaces.cs +++ b/Duplicati/Library/Interface/ResultInterfaces.cs @@ -55,15 +55,15 @@ namespace Duplicati.Library.Interface public interface IParsedBackendStatistics : IBackendStatstics
{
- long UnknownFileSize { get; }
- long UnknownFileCount { get; }
- long KnownFileCount { get; }
- long KnownFileSize { get; }
- DateTime LastBackupDate { get; }
- long BackupListCount { get; }
- long TotalQuotaSpace { get; }
- long FreeQuotaSpace { get; }
- long AssignedQuotaSpace { get; }
+ long UnknownFileSize { get; set; }
+ long UnknownFileCount { get; set; }
+ long KnownFileCount { get; set; }
+ long KnownFileSize { get; set; }
+ DateTime LastBackupDate { get; set; }
+ long BackupListCount { get; set; }
+ long TotalQuotaSpace { get; set; }
+ long FreeQuotaSpace { get; set; }
+ long AssignedQuotaSpace { get; set; }
}
public interface IBackendStatsticsReporter
|