Ejemplo n.º 1
0
    protected void CopyFrom (TComponentModel alias)
    {
      if (alias.NotNull ()) {
        SettingsModel.CopyFrom (alias.SettingsModel);

        InfoModel.CopyFrom (alias.InfoModel);
        StatusModel.CopyFrom (alias.StatusModel);
                
        ImageModel.CopyFrom (alias.ImageModel);
        GeometryModel.CopyFrom (alias.GeometryModel);
        LayoutModel.CopyFrom (alias.LayoutModel);
        TextModel.CopyFrom (alias.TextModel);
        NodeModel.CopyFrom (alias.NodeModel);
        ContentModel.CopyFrom (alias.ContentModel);

        NodeModelCollection = new Collection<ExtensionNode> (alias.NodeModelCollection);
        ContentModelCollection = new Collection<ExtensionContent> (alias.ContentModelCollection);
      }
    }
Ejemplo n.º 2
0
 public void Select (ExtensionNode node)
 {
   NodeModel.CopyFrom (node);
 }