using System;
using Artemis.Core;
namespace Artemis.UI.Shared
{
///
/// Provides data on profile related events raised by the profile editor
///
public class ProfileConfigurationEventArgs : EventArgs
{
internal ProfileConfigurationEventArgs(ProfileConfiguration? profileConfiguration)
{
ProfileConfiguration = profileConfiguration;
}
internal ProfileConfigurationEventArgs(ProfileConfiguration? profileConfiguration, ProfileConfiguration? previousProfileConfiguration)
{
ProfileConfiguration = profileConfiguration;
PreviousProfileConfiguration = previousProfileConfiguration;
}
///
/// Gets the profile the event was raised for
///
public ProfileConfiguration? ProfileConfiguration { get; }
///
/// If applicable, the previous active profile before the event was raised
///
public ProfileConfiguration? PreviousProfileConfiguration { get; }
}
}