// 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;
using StrixMusic.Sdk.CoreModels;
namespace StrixMusic.Services.CoreManagement
{
///
/// Event args used to identify a specific core instance before it's created.
///
public sealed class CoreInstanceEventArgs : EventArgs
{
///
/// Creates a new instance of .
///
/// Unique instance identifier for the core instance.
/// The metadata for the core instance.
public CoreInstanceEventArgs(string instanceId, CoreMetadata coreMetadata)
{
InstanceId = instanceId;
CoreMetadata = coreMetadata;
}
///
/// Unique instance identifier for the core instance.
///
public string InstanceId { get; }
///
/// The assembly info for the core instance.
///
public CoreMetadata CoreMetadata { get; }
}
}