diff options
author | crupest <crupest@outlook.com> | 2021-04-27 18:38:26 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-27 18:38:26 +0800 |
commit | 2cbcd8b63bcd7e3d45cd92baa5bacd828527aea8 (patch) | |
tree | 36ef7044778eb0f660d02d08b57c4d0a143b9865 /BackEnd/Timeline/Services/Data/DataManager.cs | |
parent | deb02d10e6139bb74a63343e2a8b70fee11bec22 (diff) | |
download | timeline-2cbcd8b63bcd7e3d45cd92baa5bacd828527aea8.tar.gz timeline-2cbcd8b63bcd7e3d45cd92baa5bacd828527aea8.tar.bz2 timeline-2cbcd8b63bcd7e3d45cd92baa5bacd828527aea8.zip |
refactor: Refactor is still on...
Diffstat (limited to 'BackEnd/Timeline/Services/Data/DataManager.cs')
-rw-r--r-- | BackEnd/Timeline/Services/Data/DataManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BackEnd/Timeline/Services/Data/DataManager.cs b/BackEnd/Timeline/Services/Data/DataManager.cs index 9de17da3..6cf3225f 100644 --- a/BackEnd/Timeline/Services/Data/DataManager.cs +++ b/BackEnd/Timeline/Services/Data/DataManager.cs @@ -21,7 +21,7 @@ namespace Timeline.Services.Data _eTagGenerator = eTagGenerator;
}
- public async Task<string> RetainEntry(byte[] data, CancellationToken cancellationToken = default)
+ public async Task<string> RetainEntryAsync(byte[] data, CancellationToken cancellationToken = default)
{
if (data == null)
throw new ArgumentNullException(nameof(data));
@@ -56,7 +56,7 @@ namespace Timeline.Services.Data return tag;
}
- public async Task FreeEntry(string tag, CancellationToken cancellationToken = default)
+ public async Task FreeEntryAsync(string tag, CancellationToken cancellationToken = default)
{
if (tag == null)
throw new ArgumentNullException(nameof(tag));
@@ -87,7 +87,7 @@ namespace Timeline.Services.Data }
}
- public async Task<byte[]?> GetEntry(string tag, CancellationToken cancellationToken = default)
+ public async Task<byte[]?> GetEntryAsync(string tag, CancellationToken cancellationToken = default)
{
if (tag == null)
throw new ArgumentNullException(nameof(tag));
|