public PropertyTreeBinderImpl(IPropertyTreeBinderErrors errors,
                               PropertyTreeBinderOptions options)
 {
     _errors = errors;
     this.directiveFactory = new SerializerDirectiveFactory(this);
     _options = options;
 }
 public PropertyTreeBinderImpl(IPropertyTreeBinderErrors errors,
                               IPopulateComponentCallback callback)
 {
     this.errors = errors;
     Array.ForEach(Pipeline, t => t.Parent = this);
     this.directiveFactory = new SerializerDirectiveFactory(this);
     this.callback = callback;
 }