示例#1
0
 public Dependency(SubDependency sub)
 {
     Sub = sub;
 }
示例#2
0
 public Foo(SubDependency sub, Dependency dep)
 {
     Sub = sub;
     Dep = dep;
 }
示例#3
0
 public Foo(SubDependency sub, Dependency dep)
 {
 }
示例#4
0
 public Dependency(SubDependency sub)
 {
 }
示例#5
0
    Foo Create()
    {
        var sub = new SubDependency();

        return(new Foo(sub, new Dependency(sub)));
    }