public ListFindInstanceModifier(RootWrapper <TRoot> root, Predicate <T> predicate)
 {
     _predicate = predicate;
     Target     = new InstanceWrapper <TRoot, T>(root);
 }
 internal InstanceWithInstanceModifier(RootWrapper <TRoot> root, Expression <Func <T, TTrg> > expression)
 {
     _expression = expression;
     Target      = new InstanceWrapper <TRoot, TTrg>(root);
 }
Example #3
0
 public ListAtInstanceModifier(RootWrapper <TRoot> root, int index)
 {
     _index = index;
     Target = new InstanceWrapper <TRoot, T>(root);
 }
Example #4
0
 internal InstanceCastModifier(RootWrapper <TRoot> root)
 {
     Target = new InstanceWrapper <TRoot, TCast>(root);
 }
Example #5
0
 public RootWrapper(TRoot instance)
 {
     _instance = instance;
     Target    = new InstanceWrapper <TRoot, TRoot>(this);
 }
Example #6
0
 internal InstanceIfModifier(RootWrapper <TRoot> root, Predicate <T> predicate)
 {
     Predicate = predicate ?? (t => true);
     Target    = new InstanceWrapper <TRoot, T>(root);
 }