/// <summary> /// Initializes a new instance of the <see cref="UnanetAutomation" /> class. /// </summary> /// <param name="client">The client.</param> /// <param name="automa">The automa.</param> /// <param name="options">The options.</param> public UnanetAutomation(AutomaClient client, IAutoma automa, IUnanetOptions options) : base(client, automa) => _options = options;
/// <summary> /// Initializes a new instance of the <see cref="UnanetClient" /> class. /// </summary> /// <param name="options">The options.</param> /// <param name="proxyOptions">The proxy options.</param> public UnanetClient(IUnanetOptions options, IProxyOptions proxyOptions = null) : base(client => new Automa(client, automa => new UnanetAutomation(client, automa, options)), proxyOptions) { Options = options; UnanetUri = Options.UnanetUri; }