Table of Contents

Property Resource

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.Native.dll

Resource

Gets or sets a resource that binds to the MaaFramework.Binding.IMaaTasker.

public required IMaaResource<nint> Resource { get; set; }

Property Value

IMaaResource<nint>

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaTasker.MaaTaskerBindResource(System.IntPtr,System.IntPtr) and MaaFramework.Binding.Interop.Native.MaaTasker.MaaTaskerGetResource(System.IntPtr).

Exceptions

ArgumentNullException
MaaInteroperationException