/// <summary> /// Override currently used client. /// </summary> /// <param name="other">Other client.</param> /// <returns>Post-reconfigured client. Most of the time you don't need this.</returns> public BaseNekosClient OverrideClient(BaseNekosClient other) { NekoLogger = other.NekoLogger; IsLoggingAllowed = other.IsLoggingAllowed; return(this); }
/// <summary> /// Construct a client from the other client. /// </summary> /// <param name="other">Other client.</param> protected BaseNekosClient(BaseNekosClient other) { IsLoggingAllowed = other.IsLoggingAllowed; NekoLogger = other.NekoLogger; }