Beispiel #1
0
        public IAcroClientBuilder ConfigureOptions(Action <AcroOptions> configure)
        {
            if (options == null)
            {
                options = new AcroOptions();
            }

            configure(options);

            return(this);
        }
Beispiel #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;
        }
Beispiel #3
0
 public AcroClient(AcroOptions options) : this(null, null, options)
 {
 }