Method Unregister<T>
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
Unregister<T>(string)
Unregisters a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaResource.
public bool Unregister<T>(string name) where T : IMaaCustomResourceParameters
namestring-
The name of the instance when it was registered.
Returns
Type Parameters
T-
The MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceUnregisterCustomAction(System.IntPtr,System.String) and MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceUnregisterCustomRecognition(System.IntPtr,System.String).
Unregister<T>(T)
Unregisters a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaResource.
public bool Unregister<T>(T custom) where T : IMaaCustomResourceParameters
customT-
The custom resource instance to unregister.
Returns
Type Parameters
T-
The MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceUnregisterCustomAction(System.IntPtr,System.String) and MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceUnregisterCustomRecognition(System.IntPtr,System.String).