More summaries

This commit is contained in:
Mikal Stodal 2017-03-02 15:37:45 +01:00
parent 866dbf0b1d
commit c88c6c4c62
1 changed files with 8 additions and 0 deletions

View File

@ -116,6 +116,10 @@ public void Reset()
connection.DeleteAll<BeatmapInfo>();
}
/// <summary>
/// Import multiple <see cref="BeatmapSetInfo"/> from <paramref name="paths"/>.
/// </summary>
/// <param name="paths">Multiple locations on disk</param>
public void Import(IEnumerable<string> paths)
{
Stack<BeatmapSetInfo> sets = new Stack<BeatmapSetInfo>();
@ -151,6 +155,10 @@ public void Import(IEnumerable<string> paths)
Import(sets);
}
/// <summary>
/// Import <see cref="BeatmapSetInfo"/> from <paramref name="path"/>.
/// </summary>
/// <param name="path">Location on disk</param>
public void Import(string path)
{
Import(new [] { path });