private void PinToStart(object parameter) { if (!(parameter is ResourceInfo)) { return; } var resourceInfo = parameter as ResourceInfo; _tileService.CreatePinnedObject(resourceInfo); }
private void PinToStart(object parameter) { if (!(parameter is ResourceInfo)) { return; } var resourceInfo = (ResourceInfo)parameter; _tileService.CreatePinnedObject(resourceInfo); SelectedFileOrFolder = null; }