Holder

Ecng.Net.RestSharpHelper.AuthenticatorWrapper

继承自: Disposable

构造函数

Holder
public Holder(AuthenticatorWrapper wrapper, RestRequest req, IAuthenticator auth)
holder = Holder(wrapper, req, auth)

Initializes a new instance of the Holder class and registers the authenticator.

wrapper
The parent AuthenticatorWrapper instance.
req
The RestRequest to associate with the authenticator.
auth
The authenticator to register.

方法

DisposeManaged
protected override void DisposeManaged()
holder.DisposeManaged()

Releases the managed resources and unregisters the authenticator.