private void PinToStart(object parameter)
        {
            if (!(parameter is ResourceInfo))
            {
                return;
            }
            var resourceInfo = parameter as ResourceInfo;

            _tileService.CreatePinnedObject(resourceInfo);
        }
Beispiel #2
0
        private void PinToStart(object parameter)
        {
            if (!(parameter is ResourceInfo))
            {
                return;
            }

            var resourceInfo = (ResourceInfo)parameter;

            _tileService.CreatePinnedObject(resourceInfo);
            SelectedFileOrFolder = null;
        }