public RelayCommand( object targetObject, MethodInfo execute, PropertyInfo canExecute, bool supportsOnUpdate )
Public Function New( _ ByVal targetObject As Object, _ ByVal execute As MethodInfo, _ ByVal canExecute As PropertyInfo, _ Optional ByVal supportsOnUpdate As Boolean _ )
Parameters
- targetObject
- The object to call.
- execute
- The method on the target object to call.
- canExecute
- The method to call to update the state.
- supportsOnUpdate
- Is the command automatically called for a state update. Default is true.