From b11fd1fef71682bcb5ff99b0b4d913bcd728c6e0 Mon Sep 17 00:00:00 2001 From: Simon Gockner Date: Fri, 24 Jan 2020 16:14:54 +0100 Subject: [PATCH] - add settings - add name of database --- GBase/Interfaces/IGBase.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/GBase/Interfaces/IGBase.cs b/GBase/Interfaces/IGBase.cs index 3dc13bc..c121a92 100644 --- a/GBase/Interfaces/IGBase.cs +++ b/GBase/Interfaces/IGBase.cs @@ -6,6 +6,7 @@ using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; +using GBase.Interfaces.Settings; namespace GBase.Interfaces { @@ -14,6 +15,16 @@ namespace GBase.Interfaces /// public interface IGBase : IAsyncDisposable { + /// + /// The name of this + /// + string Name { get; } + + /// + /// The settings of this + /// + IGBaseSettings Settings { get; } + /// /// The s of this /// @@ -23,9 +34,10 @@ namespace GBase.Interfaces /// /// Initialize this /// + /// The name of this /// A to cancel the asynchronous operation /// True if successful, false if not - Task Init(CancellationToken cancellationToken); + Task Init(string name, CancellationToken cancellationToken); /// /// Add a given to this