|
|
|
@ -2,15 +2,23 @@ |
|
|
|
// Created: 2020-02-14 |
|
|
|
// Created: 2020-02-14 |
|
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved. |
|
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
using GBase.Attributes; |
|
|
|
|
|
|
|
|
|
|
|
namespace GBase.Api |
|
|
|
namespace GBase.Interfaces |
|
|
|
{ |
|
|
|
{ |
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// GBase object that allows conversion from <see cref="string"/> |
|
|
|
/// GBase object that allows conversion from <see cref="string"/> |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
public interface IGBaseObject |
|
|
|
public interface IGBaseObject |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
|
|
/// <see cref="IGBase"/> Key |
|
|
|
|
|
|
|
/// </summary> |
|
|
|
|
|
|
|
[GBaseColumn(true)] |
|
|
|
|
|
|
|
GBaseKey Key { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// The FileName of the GBase file for an entry of this object |
|
|
|
/// The FileName of the GBase file for an entry of this object |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
@ -20,8 +28,9 @@ namespace GBase.Api |
|
|
|
/// Initialize this <see cref="IGBaseObject"/> from a given <see cref="string"/> |
|
|
|
/// Initialize this <see cref="IGBaseObject"/> from a given <see cref="string"/> |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
/// <param name="string">The given <see cref="string"/></param> |
|
|
|
/// <param name="string">The given <see cref="string"/></param> |
|
|
|
|
|
|
|
[Obsolete] |
|
|
|
void InitializeFromString(string @string); //TODO: Try to remove this method, work with keys |
|
|
|
void InitializeFromString(string @string); //TODO: Try to remove this method, work with keys |
|
|
|
|
|
|
|
|
|
|
|
void Initialize(List<object> parameters); |
|
|
|
void Initialize(GBaseKey key, List<object> parameters); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |