public AcroClient(IAcroInput input, IAcroOutput output, AcroOptions options) { this.options = options ?? new AcroOptions(); this.@in = input; this.@out = output; canOutput = options.Direction == Direction.Out || options.Direction == Direction.InOut; canOutput &= @out != null; canInput = options.Direction == Direction.In || options.Direction == Direction.InOut; canInput &= @in != null; }
public IAcroClientBuilder AddInput(IAcroInput input) { this.input = input; return(this); }