// 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 System.Collections.Generic;
using StrixMusic.Sdk.CoreModels;
namespace StrixMusic.Sdk.AdapterModels
{
///
/// An item that has been merged from multiple sources.
///
/// The type that makes up this merged item.
public interface IMerged : IEquatable, IMerged
where T : ICoreMember
{
///
/// The sources that make up this merged item.
///
IReadOnlyList Sources { get; }
}
///
/// A non-generic version of that provides notification support for when any of the merged sources have changed.
///
///
public interface IMerged
{
///
/// Raised when any of the sources have changed.
///
public event EventHandler? SourcesChanged;
}
}