mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 22:48:42 +00:00
Ver 3
This commit is contained in:
@@ -1,9 +1,21 @@
|
||||
using System;
|
||||
using Esiur.Data.Types;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Esiur.Data;
|
||||
|
||||
public class Record : KeyList<string, object>, IRecord
|
||||
{
|
||||
public TypeDef TypeDef { get; private set; }
|
||||
|
||||
public Record(TypeDef typeDef)
|
||||
{
|
||||
TypeDef = typeDef;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Record<{TypeDef.Name}> {{{string.Join(", ", this.Select(x=>x.Key + ": " + x.Value))}}}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user