private OfxClient(OfxClientOptions options, IOfxClientTransport transport, OfxSerializer serializer, IUtils utils) { Options = options; _transport = transport; _serializer = serializer; _utils = utils; }
public OfxClient(OfxClientOptions options) : this(options, new TcpClientTransport(), new OfxSerializer(), new Utils()) { Options = options; }
internal OfxClient(OfxClientOptions options, IOfxClientTransport transport, IUtils utils) : this(options, transport, new OfxSerializer(), utils) { }
/// <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; }