Exemplo n.º 1
0
 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);
 }
Exemplo n.º 3
0
 public ListAtInstanceModifier(RootWrapper <TRoot> root, int index)
 {
     _index = index;
     Target = new InstanceWrapper <TRoot, T>(root);
 }
Exemplo n.º 4
0
 internal InstanceCastModifier(RootWrapper <TRoot> root)
 {
     Target = new InstanceWrapper <TRoot, TCast>(root);
 }
Exemplo n.º 5
0
 public RootWrapper(TRoot instance)
 {
     _instance = instance;
     Target    = new InstanceWrapper <TRoot, TRoot>(this);
 }
Exemplo n.º 6
0
 internal InstanceIfModifier(RootWrapper <TRoot> root, Predicate <T> predicate)
 {
     Predicate = predicate ?? (t => true);
     Target    = new InstanceWrapper <TRoot, T>(root);
 }