public DocumentationLink(DocumentationLinkType type, string url, string label) { Label = label ?? type.ToString(); Url = url; Type = type; Open = new AnotherCommandImplementation(Execute); }
public DialogsViewModel() { //Sample 4 //OpenSample4DialogCommand = new AnotherCommandImplementation(OpenSample4Dialog); AcceptSample4DialogCommand = new AnotherCommandImplementation(AcceptSample4Dialog); CancelSample4DialogCommand = new AnotherCommandImplementation(CancelSample4Dialog); OpenLoginDialogCommand = new AnotherCommandImplementation(OpenLoginDialog); CloseCheckoutDialogCommand = new AnotherCommandImplementation(CloseCheckoutDialog); AcceptLoginDialogCommand = new AnotherCommandImplementation(AcceptLoginDialog); }