public void Setup() { Configuration = new VMDescriptorConfiguration(new BehaviorChainConfiguration()); SourceObjectFactory = new VMPropertyBuilder <EmployeeVM, Employee>( PropertyPath.Create((EmployeeVM x) => x.SourcePerson), Configuration ); RootFactory = new VMPropertyBuilder <EmployeeVM, EmployeeVM>( PropertyPath.Empty <EmployeeVM>(), Configuration ); }
public void Setup() { Config = new VMDescriptorConfiguration(new BehaviorChainConfiguration()); Factory = new VMPropertyFactory <IViewModel, object>(Config, null); }