- make entry disposable

pull/26/head
Simon Gockner 6 years ago
parent fcdc6d18b8
commit ff0ff3ada2
  1. 6
      GBase/GBaseEntry.cs
  2. 4
      GBase/Interfaces/IGBaseEntry.cs

@ -2,6 +2,7 @@
// Created: 2020-01-27 // Created: 2020-01-27
// Copyright(c) 2020 SimonG. All Rights Reserved. // Copyright(c) 2020 SimonG. All Rights Reserved.
using System.Threading.Tasks;
using GBase.Interfaces; using GBase.Interfaces;
namespace GBase namespace GBase
@ -18,5 +19,10 @@ namespace GBase
{ {
} }
public async ValueTask DisposeAsync()
{
}
} }
} }

@ -2,12 +2,14 @@
// Created: 2020-01-24 // Created: 2020-01-24
// Copyright(c) 2020 SimonG. All Rights Reserved. // Copyright(c) 2020 SimonG. All Rights Reserved.
using System;
namespace GBase.Interfaces namespace GBase.Interfaces
{ {
/// <summary> /// <summary>
/// An entry of a <see cref="IGBaseTable"/> /// An entry of a <see cref="IGBaseTable"/>
/// </summary> /// </summary>
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?)
{ {
} }

Loading…
Cancel
Save