Пример #1
0
 public Mutation(PropertyInfo property,
                 MutationOptions <TTarget> options,
                 TProperty newValue)
 {
     Property = property;
     NewValue = newValue;
     Options  = options;
 }
Пример #2
0
 public Mutation(PropertyInfo property,
                 MutationOptions <TTarget> options,
                 Func <TTarget, TProperty> newValueGenerator)
 {
     Property          = property;
     NewValueGenerator = newValueGenerator;
     Options           = options;
 }