예제 #1
0
 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;
            }
        }
예제 #3
0
 internal void SetParent(ModelView mvd)
 {
     Parent = mvd;
 }