Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game.Tournament/Screens/Editors/IModelBacked.cs
2264 views
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

namespace osu.Game.Tournament.Screens.Editors
{
    /// <summary>
    /// Provides a mechanism to access a related model from a representing class.
    /// </summary>
    /// <typeparam name="TModel">The type of model.</typeparam>
    public interface IModelBacked<out TModel>
    {
        /// <summary>
        /// The model.
        /// </summary>
        TModel Model { get; }
    }
}