// 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 Newtonsoft.Json; using StrixMusic.Sdk.CoreModels; namespace StrixMusic.Sdk.Plugins.CoreRemote { /// /// An external, remotely synchronized implementation of /// public sealed class RemoteCoreLibrary : RemoteCorePlayableCollectionGroupBase, ICoreLibrary { /// /// Creates a new instance of . Interacts with a remote core, identified by the given parameters. /// /// The ID of the core that created this instance. /// Uniquely identifies the instance being remoted. [JsonConstructor] internal RemoteCoreLibrary(string sourceCoreInstanceId, string id) : base(sourceCoreInstanceId, id) { } /// /// Creates a new instance of . Wraps around the given for remote interaction. /// /// The library to control remotely. internal RemoteCoreLibrary(ICoreLibrary library) : base(library) { } } }