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