Example #1
0
        public void AcceptVisitor(IBuildPlanVisitor visitor)
        {
            visitor.Instance(PluginType, Instance);
            _interceptionPlan?.AcceptVisitor(visitor);

            var visitable = Inner.As <IBuildPlanVisitable>();

            if (visitable == null)
            {
                visitor.InnerBuilder(Inner);
            }
            else
            {
                visitable.AcceptVisitor(visitor);
            }
        }
Example #2
0
        public void AcceptVisitor(IBuildPlanVisitor visitor)
        {
            visitor.Instance(PluginType, Instance);
            _interceptionPlan?.AcceptVisitor(visitor);

            var visitable = Inner.As<IBuildPlanVisitable>();
            if (visitable == null)
            {
                visitor.InnerBuilder(Inner);
            }
            else
            {
                visitable.AcceptVisitor(visitor);
            }

            
        }
Example #3
0
        public void AcceptVisitor(IBuildPlanVisitor visitor)
        {
            visitor.Instance(_pluginType, _instance);
            if (_interceptionPlan != null)
            {
                _interceptionPlan.AcceptVisitor(visitor);
            }

            var visitable = _inner.As <IBuildPlanVisitable>();

            if (visitable == null)
            {
                visitor.InnerBuilder(_inner);
            }
            else
            {
                visitable.AcceptVisitor(visitor);
            }
        }
Example #4
0
        public void AcceptVisitor(IBuildPlanVisitor visitor)
        {
            visitor.Instance(_pluginType, _instance);
            if (_interceptionPlan != null)
            {
                _interceptionPlan.AcceptVisitor(visitor);
            }

            var visitable = _inner.As<IBuildPlanVisitable>();
            if (visitable == null)
            {
                visitor.InnerBuilder(_inner);
            }
            else
            {
                visitable.AcceptVisitor(visitor);
            }

            
        }