Exemplo n.º 1
0
    protected void UnloadResource(SoundDatabase soundDatabase)
    {
        Dictionary <Int32, SoundProfile> dictionary = soundDatabase.ReadAll();

        foreach (KeyValuePair <Int32, SoundProfile> keyValuePair in dictionary)
        {
            this.UnregisterBank(keyValuePair.Value);
        }
        soundDatabase.DeleteAll();
    }