public void Action()
 {
     Property = factory.CreateInstance();
     Property.DoSomething();
 }