- add first fileHandler implementation

pull/26/head
Simon Gockner 6 years ago
parent 55e0010fa9
commit 72defb90a4
  1. 36
      GBase/FileHandling/FileHandler.cs

@ -0,0 +1,36 @@
// Author: Gockner, Simon
// Created: 2020-02-12
// Copyright(c) 2020 SimonG. All Rights Reserved.
using System.Threading;
using System.Threading.Tasks;
using GBase.Interfaces.FileHandling;
namespace GBase.FileHandling
{
/// <summary>
/// Internal file handler
/// </summary>
public class FileHandler : IFileHandler
{
/// <summary>
/// Initialize this <see cref="IFileHandler"/>
/// </summary>
/// <param name="path">The path of the database</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> to cancel the asynchronous operation</param>
/// <returns>True if successful, false if not</returns>
public async Task<bool> Init(string path, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
/// <summary>
/// Dispose used resources asynchronously
/// </summary>
/// <returns>A <see cref="ValueTask"/> to await</returns>
public async ValueTask DisposeAsync()
{
throw new System.NotImplementedException();
}
}
}
Loading…
Cancel
Save