Ejemplo n.º 1
0
        protected DataCollection(string name, DataStructureType itemType)
        {
            Name     = name;
            ItemType = itemType;

            Fields = itemType.Fields
                     .Select(f => new DataFieldInstance(this, f))
                     .ToList();
        }
Ejemplo n.º 2
0
 public EndPointDataCollection(DataEndPoint endPoint, string name, DataStructureType itemType)
     : base(name, itemType)
 {
     EndPoint = endPoint;
 }
Ejemplo n.º 3
0
 public DataStructure(DataStructureType type)
 {
     Type   = type;
     Values = new Dictionary <DataField, object>(type.Fields.Count);
 }