mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09: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>
|
/// <summary>
|
||||||
/// A factory which provides both the main (update thread bound) realm context and creates contexts for async usage.
|
/// A factory which provides both the main (update thread bound) realm context and creates contexts for async usage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class RealmContextFactory : IDisposable, IRealmFactory
|
public class RealmContextFactory : IDisposable
|
||||||
{
|
{
|
||||||
private readonly Storage storage;
|
private readonly Storage storage;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user