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); } }
public void Select (ExtensionContent content) { ContentModel.CopyFrom (content); }