Example #1
0
        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;
        }
Example #2
0
        public IAcroClientBuilder AddInput(IAcroInput input)
        {
            this.input = input;

            return(this);
        }