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); } }
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); } }
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); } }
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); } }