osu.Framework/Graphics/Drawable.cs
/// <summary>
/// Unbinds all <see cref="Bindable{T}"/>s stored as fields or properties in this <see cref="Drawable"/>.
/// </summary>
Unbinds all s stored as fields or properties in this .
Unbinds all s stored as fields or properties in this .
private void unbindAllBindables()
        {
            if (unbindComplete) return;
            unbindComplete = true;
            foreach (var type in GetType().EnumerateBaseTypes())
                if (unbind_action_cache.TryGetValue(type, out var existing))
                    existing?.Invoke(this);
        }
private void unbindAllBindables ( ) { if ( unbindComplete ) return ; unbindComplete = true ; foreach ( var type in GetType ( ) . EnumerateBaseTypes ( ) ) if ( unbind_action_cache . TryGetValue ( type , out var existing ) ) existing ? . Invoke ( this ) ; }
Unbinds all s stored as fields or properties in this .
Unbinds all s stored as fields or properties in this .