Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Foo
- {
- private IBar _bar;
- public Foo(Ibar bar)
- {
- _bar = bar;
- }
- }
- class Foo
- {
- public IBar GetMeSomething()
- {
- return new Bar(); // dependency here
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement