Class that implements IDisposable without Dispose function?

一笑奈何 提交于 2019-12-02 10:25:28

On GitHub in source:

#region Explicit Interface Implementations

/// <summary>
/// Closes the WebSocket connection, and releases all associated resources.
/// </summary>
/// <remarks>
/// This method closes the connection with <see cref="CloseStatusCode.Away"/>.
/// </remarks>
void IDisposable.Dispose ()
{
  close (new CloseEventArgs (CloseStatusCode.Away), true, true, false);
}

#endregion
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!