- move IGBaseObject to main lib
- mark InitializeFromString() obsolete
master
Simon G 5 years ago
parent e29b7cbafd
commit f3be965879
  1. 13
      GBase/Interfaces/IGBaseObject.cs

@ -2,15 +2,23 @@
// Created: 2020-02-14
// Copyright(c) 2020 SimonG. All Rights Reserved.
using System;
using System.Collections.Generic;
using GBase.Attributes;
namespace GBase.Api
namespace GBase.Interfaces
{
/// <summary>
/// GBase object that allows conversion from <see cref="string"/>
/// </summary>
public interface IGBaseObject
{
/// <summary>
/// <see cref="IGBase"/> Key
/// </summary>
[GBaseColumn(true)]
GBaseKey Key { get; set; }
/// <summary>
/// The FileName of the GBase file for an entry of this object
/// </summary>
@ -20,8 +28,9 @@ namespace GBase.Api
/// Initialize this <see cref="IGBaseObject"/> from a given <see cref="string"/>
/// </summary>
/// <param name="string">The given <see cref="string"/></param>
[Obsolete]
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);
}
}
Loading…
Cancel
Save