public PositionalComponent(ComponentType type, ComponentConfiguration configuration, Point location) : base(type, configuration) { Layout = new LayoutInformation(location); }
public Component(ComponentType type, ComponentConfiguration configuration) { Type = type; Configuration = configuration; Properties = new DependentDictionary <PropertyName, PropertyValue>(type.PropertyNames, p => new PropertyValue(), allowOther: true); Connections = new DependentDictionary <ConnectionName, NamedConnection>(type.ConnectionNames, cn => new NamedConnection(cn, this)); }