// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

namespace osu.Framework.Bindables
{
    /// <summary>
    /// An interface that represents a leased bindable.
    /// </summary>
    public interface ILeasedBindable : IBindable
    {
        /// <summary>
        /// End the lease on the source <see cref="Bindable{T}"/>.
        /// </summary>
        /// <returns>
        /// Whether the lease was returned. Will be <c>false</c> if already returned.
        /// </returns>
        bool Return();
    }

    /// <summary>
    /// An interface that representes a leased bindable.
    /// </summary>
    /// <typeparam name="T">The value type of the bindable.</typeparam>
    public interface ILeasedBindable<T> : ILeasedBindable, IBindable<T>
    {
    }
}

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

namespace osu.Framework.Bindables
{
    /// <summary>
    /// An interface that represents a leased bindable.
    /// </summary>
    public interface ILeasedBindable : IBindable
    {
        /// <summary>
        /// End the lease on the source <see cref="Bindable{T}"/>.
        /// </summary>
        /// <returns>
        /// Whether the lease was returned by this call. Will be <c>false</c> if already returned.
        /// </returns>
        bool Return();
    }

    /// <summary>
    /// An interface that representes a leased bindable.
    /// </summary>
    /// <typeparam name="T">The value type of the bindable.</typeparam>
    public interface ILeasedBindable<T> : ILeasedBindable, IBindable<T>
    {
    }
}

Clarify xmldoc regarding return value
Clarify xmldoc regarding return value

Co-authored-by: Bartłomiej Dach <809709723693c4e7ecc6f5379a3099c830279741@gmail.com>