From ff0ff3ada216cf18ec6a20d3834acfe32b14da4c Mon Sep 17 00:00:00 2001 From: Simon Gockner Date: Tue, 3 Mar 2020 08:05:57 +0100 Subject: [PATCH] - make entry disposable --- GBase/GBaseEntry.cs | 6 ++++++ GBase/Interfaces/IGBaseEntry.cs | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/GBase/GBaseEntry.cs b/GBase/GBaseEntry.cs index a9eca38..d096e69 100644 --- a/GBase/GBaseEntry.cs +++ b/GBase/GBaseEntry.cs @@ -2,6 +2,7 @@ // Created: 2020-01-27 // Copyright(c) 2020 SimonG. All Rights Reserved. +using System.Threading.Tasks; using GBase.Interfaces; namespace GBase @@ -18,5 +19,10 @@ namespace GBase { } + + public async ValueTask DisposeAsync() + { + + } } } \ No newline at end of file diff --git a/GBase/Interfaces/IGBaseEntry.cs b/GBase/Interfaces/IGBaseEntry.cs index d17aceb..f2de039 100644 --- a/GBase/Interfaces/IGBaseEntry.cs +++ b/GBase/Interfaces/IGBaseEntry.cs @@ -2,12 +2,14 @@ // Created: 2020-01-24 // Copyright(c) 2020 SimonG. All Rights Reserved. +using System; + namespace GBase.Interfaces { /// /// An entry of a /// - public interface IGBaseEntry //TODO: Make entry generic (generic type is type of the value of the entry?) + public interface IGBaseEntry : IAsyncDisposable //TODO: Make entry generic (generic type is type of the value of the entry?) { }