Beispiel #1
0
 private OfxClient(OfxClientOptions options, IOfxClientTransport transport, OfxSerializer serializer, IUtils utils)
 {
     Options     = options;
     _transport  = transport;
     _serializer = serializer;
     _utils      = utils;
 }
Beispiel #2
0
 public OfxClient(OfxClientOptions options)
     : this(options, new TcpClientTransport(), new OfxSerializer(), new Utils())
 {
     Options = options;
 }
Beispiel #3
0
 internal OfxClient(OfxClientOptions options, IOfxClientTransport transport, IUtils utils)
     : this(options, transport, new OfxSerializer(), utils)
 {
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OfxClient"/> class.
 /// </summary>
 /// <param name="opts">The opts.</param>
 /// <param name="utils">The utils.</param>
 /// <param name="serializer">The serializer.</param>
 public OfxClient(OfxClientOptions opts, IProtocolUtils utils, IOfxSerializer serializer)
 {
     _serializer = serializer;
     _utils      = utils;
     _opts       = opts;
 }