public PositionalComponent(ComponentType type,
                            ComponentConfiguration configuration,
                            ElementLocation location)
     : base(type, configuration)
 {
     Layout = new LayoutInformation(location);
 }
예제 #2
0
 public Component(ComponentType type, ComponentConfiguration configuration)
 {
     Type          = type;
     Configuration = configuration;
     Properties    = new List <ComponentProperty>();
     connections   = new DependentDictionary <ConnectionName, NamedConnection>(type.ConnectionNames,
                                                                               cn => new NamedConnection(cn, this));
 }