1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:03:13 +08:00

Fill out xmldoc

This commit is contained in:
Dean Herbert 2017-10-25 22:19:47 +09:00
parent c1d133977e
commit 6f7ba55f80

View File

@ -24,9 +24,9 @@ namespace osu.Game.Database
/// <summary>
/// Refresh an instance potentially from a different thread with a local context-tracked instance.
/// </summary>
/// <param name="obj"></param>
/// <param name="lookupSource"></param>
/// <typeparam name="T"></typeparam>
/// <param name="obj">The object to use as a reference when negotiating a local instance.</param>
/// <param name="lookupSource">An optional lookup source which will be used to query and populate a freshly retrieved replacement. If not provided, the refreshed object will still be returned but will not have any includes.</param>
/// <typeparam name="T">A valid EF-stored type.</typeparam>
protected virtual void Refresh<T>(ref T obj, IEnumerable<T> lookupSource = null) where T : class, IHasPrimaryKey
{
var context = GetContext();