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

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