Skip to content

Instantly share code, notes, and snippets.

@DVDPT
Last active August 29, 2015 14:16
Show Gist options
  • Save DVDPT/70d070074b556de5c13d to your computer and use it in GitHub Desktop.
Save DVDPT/70d070074b556de5c13d to your computer and use it in GitHub Desktop.
Example of command
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