Holder

Ecng.Net.RestSharpHelper.AuthenticatorWrapper

Inherits: Disposable

Constructors

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.

Methods

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

Releases the managed resources and unregisters the authenticator.