Refactor and remove CoreMetadata
Arlodotexe opened this issue · 0 comments
Arlodotexe commented
Background
StrixMusic.Sdk.CoreModels.CoreMetadata
is a record that holds onto "registration" data for a core. It's used to identify a core before instantiation.
Problem
- Logo should not be a Uri. It should be a method that opens a Stream.
SdkVer
is not needed.- These properties don't need a separate record.
Solution
- Change
LogoUri
toOpenLogoStreamAsync()
- Remove SdkVer
-
Id
,DisplayName
andOpenLogoStreamAsync()
should go directly ontoICore
.- The corresponding AppModel does not need these properties added.