Method Clear<T>
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
Clear<T>()
Clears all MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition registered in the MaaFramework.Binding.IMaaResource.
public bool Clear<T>() where T : IMaaCustomResource
Returns
Type Parameters
T
-
The MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceClearCustomAction(System.IntPtr) and MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceClearCustomRecognition(System.IntPtr).
Clear(bool)
Clear the loaded resource paths.
public bool Clear(bool includeCustomResource = false)
Parameters
includeCustomResource
bool
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceClear(System.IntPtr).