From 32dcc3e7f006c2e9fac09f458aa11988c8f03c6b Mon Sep 17 00:00:00 2001 From: Simon Gockner Date: Fri, 24 Jan 2020 16:06:24 +0100 Subject: [PATCH] - add table interface --- GBase/Interfaces/IGBaseTable.cs | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 GBase/Interfaces/IGBaseTable.cs diff --git a/GBase/Interfaces/IGBaseTable.cs b/GBase/Interfaces/IGBaseTable.cs new file mode 100644 index 0000000..e63bc30 --- /dev/null +++ b/GBase/Interfaces/IGBaseTable.cs @@ -0,0 +1,30 @@ +// Author: Gockner, Simon +// Created: 2020-01-24 +// Copyright(c) 2020 SimonG. All Rights Reserved. + +using System; +using System.Threading; +using System.Threading.Tasks; + +namespace GBase.Interfaces +{ + /// + /// A table + /// + public interface IGBaseTable : IAsyncDisposable + { + /// + /// The name of this + /// + string Name { get; } + + + /// + /// Initialize this + /// + /// The name of this + /// A to cancel the asynchronous operation + /// True if successful, false if not + Task Init(string name, CancellationToken cancellationToken); + } +} \ No newline at end of file