Ejemplo n.º 1
0
        public IAcroClientBuilder ConfigureOptions(Action <AcroOptions> configure)
        {
            if (options == null)
            {
                options = new AcroOptions();
            }

            configure(options);

            return(this);
        }
Ejemplo n.º 2
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;
        }
Ejemplo n.º 3
0
 public AcroClient(AcroOptions options) : this(null, null, options)
 {
 }