Example #1
0
 public static PropertyValue <T> with <T, V>(Maker <V> valueMaker, Property <T> property)
 {
     return(new PropertyValue <T>(property, valueMaker.make()));
 }
Example #2
0
 public static T make <T>(Maker <T> maker)
 {
     return(maker.make());
 }
Example #3
0
 private Maker(Maker <T> that, params PropertyValue <T>[] propertyValues)
 {
     instantiator = that.instantiator;
     values       = new Dictionary <Property <T>, Object>(that.values);
     setPropertyValues(propertyValues);
 }