public void value_dependency_accept_visitor()
        {
            var dependency = new ValueDependency();
            dependency.AcceptVisitor(visitor);

            visitor.AssertWasCalled(x => x.Value(dependency));
        }
 void IDependencyVisitor.Value(ValueDependency dependency)
 {
     Child(dependency.DependencyType).Is(dependency.Value);
 }
 void IDependencyVisitor.Value(ValueDependency dependency)
 {
     _registration.DependsOn(Dependency.OnValue(dependency.DependencyType, dependency.Value));
 }
Exemple #4
0
 void IDependencyVisitor.Value(ValueDependency dependency)
 {
     Dependencies.Add(dependency.DependencyType, dependency.Value);
 }