Last active
August 29, 2015 14:16
-
-
Save DVDPT/70d070074b556de5c13d to your computer and use it in GitHub Desktop.
Example of command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ICommand _someCommand; | |
public ICommand SomeCommand | |
{ | |
get | |
{ | |
return _someCommand | |
?? (_someCommand = CreateCommandForUserAction( | |
async () => | |
{ | |
await Something(); | |
}, AppResources.App_Loading)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment