public ResolveContext(ResolverMap resolversMap, Type type, DiffOptions options) { Options = options; Resolvers = resolversMap; _path = new Stack <string>(); Type = type; }
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; }
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()); } }
public MapContext(MapContext context, Type type) { Resolvers = context.Resolvers; Path = context.Path; Type = type; }