Inheritance: ITargetRepository
Exemplo n.º 1
0
 public void SetUp()
 {
     TargetRepository.ClearKnownTargets();
     _subject = new TargetRepository();
     var target = new Target { Name = "test" };
     _subject.Register(target);
 }
        public void SetUp()
        {
            TargetRepository.ClearKnownTargets();
            _subject = new TargetRepository();
            var target = new Target {
                Name = "test"
            };

            _subject.Register(target);
        }
Exemplo n.º 3
0
 public void Register(Target target)
 {
     TargetRepository.RegisterTarget(target);
 }
Exemplo n.º 4
0
 public ITarget Resolve(string name)
 {
     return(TargetRepository.ResolveBy(name));
 }