Пример #1
0
 public object Create()
 {
     return(_factory.Create());
 }
    public void DoSomething(int argument)
    {
        var selectedDependency = DependencyFactory.Create(argument);

        selectedDependency.DoSomething();
    }