Esempio n. 1
0
 public ResolveContext(ResolverMap resolversMap, Type type, DiffOptions options)
 {
     Options   = options;
     Resolvers = resolversMap;
     _path     = new Stack <string>();
     Type      = type;
 }
Esempio n. 2
0
 public ResolveContext(ResolveContext context, string memberPath, Type type)
 {
     Resolvers = context.Resolvers;
     Options   = context.Options;
     _path     = new Stack <string>(context._path.Reverse());
     _path.Push(memberPath);
     Type = type;
 }
Esempio n. 3
0
 public MapContext(ResolverMap resolversMap, DiffPart diff, Type type)
 {
     Resolvers = resolversMap;
     Path      = new Stack <string>();
     Type      = type;
     while (diff.Path.Count > 0)
     {
         Path.Push(diff.Path.Pop());
     }
 }
Esempio n. 4
0
 public MapContext(MapContext context, Type type)
 {
     Resolvers = context.Resolvers;
     Path      = context.Path;
     Type      = type;
 }