Example #1
0
        // might not get the extension point here!!!!!!!!!!!!!!!
        protected static ExtensionPointResolution GetExtensionPointFor(ExtensionResolution exResolution)
        {
            var ep = exResolution.Parent as ExtensionPointResolution;

            if (ep != null)
            {
                return(ep);
            }
            var ex = exResolution.Parent as ExtensionResolution;

            if (ex == null)
            {
                return(null);
            }
            return(GetExtensionPointFor(ex));
        }
Example #2
0
 internal void AddChild(ExtensionResolution item)
 {
     _children   = _children ?? new List <ExtensionResolution>();
     item.Parent = this;
     _children.Add(item);
 }