internal void SetParent(ModelView modelView) { ParentModelView = modelView; ParentModelView.ParentMvdXml?.Engine?.AddConceptRootLookup(this); if (Concepts != null) { foreach (var concept in Concepts) { concept.SetParent(this); } } Applicability?.SetParent(modelView, this); }
internal void SetParent(ModelView modelView, ConceptRoot parent) { ModelView = modelView; _parentConceptRoot = parent; // sets the connection to clear caching event var mvdEngine = ModelView?.ParentMvdXml?.Engine; if (mvdEngine != null) { mvdEngine.RequestClearCache += Engine_RequestClearCache; } }
internal void SetParent(ModelView mvd) { Parent = mvd; }