Table of Contents

Method Clear<T>

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

Clear<T>()

Clears all MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition registered in the MaaFramework.Binding.IMaaResource.

bool Clear<T>() where T : IMaaCustomResource

Returns

bool

true if custom actions or recognitions were cleared successfully; otherwise, false.

Type Parameters

T

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

Clear(bool)

Clear the loaded resource paths.

bool Clear(bool includeCustomResource = false)

Parameters

includeCustomResource bool

Returns

bool

true if the MaaFramework.Binding.IMaaResource is cleared successfully; otherwise, false.