mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 01:22:59 +08:00
Remove unused IRealmFactory
interface
This commit is contained in:
parent
a5d2047f05
commit
dde10d1ba2
@ -1,20 +0,0 @@
|
||||
// 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.
|
||||
|
||||
using Realms;
|
||||
|
||||
namespace osu.Game.Database
|
||||
{
|
||||
public interface IRealmFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// The main realm context, bound to the update thread.
|
||||
/// </summary>
|
||||
Realm Context { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Create a new realm context for use on the current thread.
|
||||
/// </summary>
|
||||
Realm CreateContext();
|
||||
}
|
||||
}
|
@ -30,7 +30,7 @@ namespace osu.Game.Database
|
||||
/// <summary>
|
||||
/// A factory which provides both the main (update thread bound) realm context and creates contexts for async usage.
|
||||
/// </summary>
|
||||
public class RealmContextFactory : IDisposable, IRealmFactory
|
||||
public class RealmContextFactory : IDisposable
|
||||
{
|
||||
private readonly Storage storage;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user