Exemplo n.º 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;
        }
Exemplo n.º 2
0
        public IAcroClientBuilder AddOutput(IAcroOutput output)
        {
            this.output = output;

            return(this);
        }