- implement addEntry and removeEntry

pull/26/head
Simon Gockner 6 years ago
parent feb4954204
commit 63fa792edf
  1. 11
      GBase.Client/GBase.Client.xml
  2. 14
      GBase.Client/Services/GBaseTableService.cs
  3. 6
      GBase.Server/Services/GBaseTableService.cs

@ -269,10 +269,17 @@
<param name="serverProtocol">The <see cref="T:GBase.Api.Communication.ServerProtocol"/></param> <param name="serverProtocol">The <see cref="T:GBase.Api.Communication.ServerProtocol"/></param>
<param name="endpoint">The endpoint for the GBaseTable</param> <param name="endpoint">The endpoint for the GBaseTable</param>
</member> </member>
<member name="M:GBase.Client.Services.GBaseTableService.Dummy"> <member name="M:GBase.Client.Services.GBaseTableService.AddEntry">
<summary> <summary>
Dummy method Add an entry to the GBaseTable
</summary>
<returns>True if successful, false if not</returns>
</member>
<member name="M:GBase.Client.Services.GBaseTableService.RemoveEntry">
<summary>
Remove an entry from the GBaseTable
</summary> </summary>
<returns>True if successful, false if not</returns>
</member> </member>
<member name="T:GBase.Client.Services.Service`1"> <member name="T:GBase.Client.Services.Service`1">
<summary> <summary>

@ -24,9 +24,19 @@ namespace GBase.Client.Services
} }
/// <summary> /// <summary>
/// Dummy method /// Add an entry to the GBaseTable
/// </summary> /// </summary>
public void Dummy() /// <returns>True if successful, false if not</returns>
public bool AddEntry()
{
throw new System.NotImplementedException();
}
/// <summary>
/// Remove an entry from the GBaseTable
/// </summary>
/// <returns>True if successful, false if not</returns>
public bool RemoveEntry()
{ {
throw new System.NotImplementedException(); throw new System.NotImplementedException();
} }

@ -9,11 +9,15 @@ namespace GBase.Server.Services
{ {
public class GBaseTableService : IGBaseTableService public class GBaseTableService : IGBaseTableService
{ {
public void Dummy() public bool AddEntry()
{ {
throw new System.NotImplementedException(); throw new System.NotImplementedException();
} }
public bool RemoveEntry()
{
throw new System.NotImplementedException();
}
public async ValueTask DisposeAsync() public async ValueTask DisposeAsync()
{ {
throw new System.NotImplementedException(); throw new System.NotImplementedException();

Loading…
Cancel
Save