BitmapSaverWindow.DeleteAll C# (CSharp) Method

DeleteAll() private method

private DeleteAll ( ) : void
return void
    private void DeleteAll()
    {
        switch ( EditorUtility.DisplayDialogComplex("What do you want to delete?",
                                                    "Please choose one of the following options.",
                                                    "List and sources",
                                                    "List",
                                                    "Cancel"))
        {
            case 0:

                foreach( string s in fList ) File.Delete( s );
                /*foreach( string s in fList ) {
                    FileInfo fi = new FileInfo( s );
                    fi.Delete();
                    fi = null;
                }*/
                AssetDatabase.Refresh();

                fList = null;
                fLength = 0;

            break;
            case 1:

                fList = null;
                fLength = 0;

            break;
            case 2:

                //return;

            break;
        }
        selectedIndex = -1;
        Repaint();
    }