Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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;
 }