// Copyright (c) Arlo Godfrey. All Rights Reserved. // Licensed under the GNU Lesser General Public License, Version 3.0 with additional terms. // See the LICENSE, LICENSE.LESSER and LICENSE.ADDITIONAL files in the project root for more information. using System; namespace StrixMusic.Sdk.CoreModels { /// /// Contains metadata for a registered core. Used to identify a core before instantiation. /// public sealed class CoreMetadata { /// /// Creates a new instance of . /// /// A unique identifier for this core, across all instances. /// The user-friendly name of the core. /// A relative path pointing to a SVG file containing the logo for this core. /// The version of the Strix Music SDK that this core was built against. public CoreMetadata(string id, string displayName, Uri logoUri, Version sdkVer) { Id = id; LogoUri = logoUri; DisplayName = displayName; SdkVer = sdkVer; } /// /// A unique identifier for this registered core, across all instances. /// public string Id { get; } /// /// A relative path pointing to a SVG file containing the logo for this core. /// public Uri LogoUri { get; } /// /// The user-friendly name for the core. /// public string DisplayName { get; } /// /// The version of the Strix Music SDK that this core was built against. /// public Version SdkVer { get; } } }