#15: add IGBaseObject

pull/26/head
Simon Gockner 6 years ago
parent f705e6790e
commit b840eb00bf
  1. 12
      GBase.Api/GBase.Api.xml
  2. 19
      GBase.Api/IGBaseObject.cs

@ -80,6 +80,18 @@
<returns>The <see cref="T:GBase.Api.Communication.ServerProtocol"/> for the given <see cref="T:System.String"/></returns> <returns>The <see cref="T:GBase.Api.Communication.ServerProtocol"/> for the given <see cref="T:System.String"/></returns>
<exception cref="T:System.ArgumentOutOfRangeException">Invalid string passed.</exception> <exception cref="T:System.ArgumentOutOfRangeException">Invalid string passed.</exception>
</member> </member>
<member name="T:GBase.Api.IGBaseObject">
<summary>
GBase object that allows conversion from <see cref="T:System.String"/>
</summary>
<typeparam name="T"></typeparam>
</member>
<member name="M:GBase.Api.IGBaseObject.InitializeFromString(System.String)">
<summary>
Initialize this <see cref="T:GBase.Api.IGBaseObject"/> from a given <see cref="T:System.String"/>
</summary>
<param name="string">The given <see cref="T:System.String"/></param>
</member>
<member name="T:GBase.Api.Services.IGBaseEntryService"> <member name="T:GBase.Api.Services.IGBaseEntryService">
<summary> <summary>
ServiceContract for the GBaseEntry ServiceContract for the GBaseEntry

@ -0,0 +1,19 @@
// Author: Gockner, Simon
// Created: 2020-02-14
// Copyright(c) 2020 SimonG. All Rights Reserved.
namespace GBase.Api
{
/// <summary>
/// GBase object that allows conversion from <see cref="string"/>
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IGBaseObject
{
/// <summary>
/// Initialize this <see cref="IGBaseObject"/> from a given <see cref="string"/>
/// </summary>
/// <param name="string">The given <see cref="string"/></param>
void InitializeFromString(string @string);
}
}
Loading…
Cancel
Save