public void AddBuildPlanVisitor(IBuildPlanVisitor visitor) { lock (this.lockObj) { this.buildPlanVisitors.Add(visitor); this.ClearBuildPlans(); } }
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); } }
public void SetUp() { theVisitor = MockRepository.GenerateMock<IBuildPlanVisitor>(); }
public InterceptionPlanTester() { theVisitor = MockRepository.GenerateMock<IBuildPlanVisitor>(); }
public void AcceptVisitor(IBuildPlanVisitor visitor) { visitor.InnerBuilder(new Constant(Object.GetType(), Object)); }
public void AcceptVisitor(IBuildPlanVisitor visitor) { _decorators.Each(visitor.Decorator); _activators.SelectMany(x => x.Interceptors).Each(visitor.Activator); }
public void SetUp() { theVisitor = MockRepository.GenerateMock <IBuildPlanVisitor>(); }
public InterceptionPlanTester() { theVisitor = Substitute.For<IBuildPlanVisitor>(); }
public void AcceptVisitor(IBuildPlanVisitor visitor) { visitor.Constructor(_constructor); _setters.Each(visitor.Setter); }
public InterceptionPlanTester() { theVisitor = Substitute.For <IBuildPlanVisitor>(); }
public InterceptionPlanTester() { theVisitor = MockRepository.GenerateMock <IBuildPlanVisitor>(); }