Add type constraints for resource managers. Generalize detail panel.

This commit is contained in:
2023-11-29 13:52:34 +08:00
parent a471272c52
commit 111c500f3b
7 changed files with 88 additions and 45 deletions

View File

@@ -106,7 +106,7 @@ namespace Cryville.Crtr.Browsing {
};
}
}
object IResourceManager.this[int index] { get { return this[index]; } }
IResourceMeta IResourceManager.this[int index] { get { return this[index]; } }
public Uri GetItemUri(int id) {
var item = _items[id];