Exemplo n.º 1
0
 public void GenericTools_Factory()
 {
     MakeSure.That(SampleModelFactory.Create()).IsNot(null);
     MakeSure.That(SampleModelFactory.Create(model => model.Age = 17).Age).Is(17);
 }
Exemplo n.º 2
0
 public SampleOutController(SampleModelFactory modelFactory)
 {
     _modelFactory = modelFactory;
 }