Forums

RelayCommand<T> Please :)
Last Post 24 Aug 2015 09:07 AM by Michael DeMond. 4 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Michael DeMondUser is Offline
New Member
New Member
Posts:34


--
23 Aug 2015 08:49 PM
    It would be nice to have RelayCommand allow a type argument and have it check against the type for the parameter type upon execution.

    Thank you for any consideration!
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:695


    --
    23 Aug 2015 09:25 PM
    Michael DeMondUser is Offline
    New Member
    New Member
    Posts:34


    --
    23 Aug 2015 11:41 PM
    Indeed. Prism has one, too:
    https://github.com/PrismLibrary/Prism/blob/master/Source/Prism/Commands/DelegateCommand.cs
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:695


    --
    24 Aug 2015 09:05 AM
    Done, it will be in the next version
    Michael DeMondUser is Offline
    New Member
    New Member
    Posts:34


    --
    24 Aug 2015 09:07 AM
    Great! Along with System.Windows.Input.ICommand?
    You are not authorized to post a reply.