Arlodotexe/strix-music

Refactor and remove CoreMetadata

Arlodotexe opened this issue · 0 comments

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 to OpenLogoStreamAsync()
  • Remove SdkVer
  • Id, DisplayName and OpenLogoStreamAsync() should go directly onto ICore.
    • The corresponding AppModel does not need these properties added.