public FactoryMethodViewModel() { IBrandFactory factory = InvokeFactory(); IBrand brand = factory.GetBrand(); ModelName = brand.GetModelName(); Price = brand.GetPrice(); Warranty = brand.GetWarranty(); }