Rename RealmWrapper to Live

This commit is contained in:
Dean Herbert
2021-01-11 16:30:55 +09:00
parent 5bb4d35982
commit 9f64f6059f
2 changed files with 11 additions and 11 deletions

View File

@ -215,10 +215,10 @@ namespace osu.Game.Database
return detached;
}
public static RealmWrapper<T> Wrap<T>(this T obj, IRealmFactory contextFactory)
where T : RealmObject, IHasGuidPrimaryKey => new RealmWrapper<T>(obj, contextFactory);
public static Live<T> Wrap<T>(this T obj, IRealmFactory contextFactory)
where T : RealmObject, IHasGuidPrimaryKey => new Live<T>(obj, contextFactory);
public static RealmWrapper<T> WrapAsUnmanaged<T>(this T obj)
where T : RealmObject, IHasGuidPrimaryKey => new RealmWrapper<T>(obj, null);
public static Live<T> WrapAsUnmanaged<T>(this T obj)
where T : RealmObject, IHasGuidPrimaryKey => new Live<T>(obj, null);
}
}