Table of Contents

Method Unregister<T>

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

Unregister<T>(string)

Unregisters a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaResource.

bool Unregister<T>(string name) where T : IMaaCustomResource

Parameters

name string

The name of the instance when it was registered.

Returns

bool

true if the unregistration was successful; otherwise, false.

Type Parameters

T

The MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition.

Unregister<T>(T)

Unregisters a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaResource.

bool Unregister<T>(T custom) where T : IMaaCustomResource

Parameters

custom T

The custom resource instance to unregister.

Returns

bool

true if the unregistration was successful; otherwise, false.

Type Parameters

T

The MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition.