Catrobat.IDE.Core.ViewModels.Editor.Sprites.SpriteEditorViewModel.DeleteLookAction C# (CSharp) Method

DeleteLookAction() private method

private DeleteLookAction ( ) : void
return void
        private void DeleteLookAction()
        {
            var look = SelectedLooks.Count == 1 ? AppResourcesHelper.Get("Editor_LookSingular") : AppResourcesHelper.Get("Editor_LookPlural");
            var messageContent = String.Format(AppResourcesHelper.Get("Editor_MessageBoxDeleteText"), SelectedLooks.Count, look);
            var messageHeader = String.Format(AppResourcesHelper.Get("Editor_MessageBoxDeleteHeader"), look);

            ServiceLocator.NotifictionService.ShowMessageBox(messageHeader, messageContent, 
                DeleteLookMessageBoxResult, MessageBoxOptions.OkCancel);
        }