2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00
This commit is contained in:
2022-03-09 21:55:30 +03:00
parent 530df018ec
commit 9a174f406f
106 changed files with 5166 additions and 4398 deletions

View File

@ -40,11 +40,11 @@ public class Storable : global::System.Attribute
SerializerFunction serializer;
DeserializerFunction deserializer;
DataType type;
RepresentationType dataType;
public Storable()
{
type = DataType.Void;
//dataType = = DataType.Void;
}
public DeserializerFunction Deserializer
@ -57,14 +57,14 @@ public class Storable : global::System.Attribute
get { return serializer; }
}
public Storable(DataType type)
public Storable(RepresentationType type)
{
this.type = type;
this.dataType = type;
}
public Storable(DataType type, SerializerFunction serializer, DeserializerFunction deserializer)
public Storable(RepresentationType type, SerializerFunction serializer, DeserializerFunction deserializer)
{
this.type = type;
this.dataType = type;
this.serializer = serializer;
this.deserializer = deserializer;
}