Files
Artemis/src/Artemis.UI.Shared/Events/ProfileEventArgs.cs
T
Robert 7b27d076b3 Profile elements - Simplified class hierarchy
Profile editor - Seperated event types and avoid a lot of type checking
Profile editor - Avoid changing profiles/layers if the new equals the old
Color picker - Fixed binding error
Profile tree - Select first element by default
Profile editor - Adjusted initialization order
2020-07-09 12:23:57 +02:00

22 lines
511 B
C#

using System;
using Artemis.Core.Models.Profile;
namespace Artemis.UI.Shared.Events
{
public class ProfileEventArgs : EventArgs
{
public ProfileEventArgs(Profile profile)
{
Profile = profile;
}
public ProfileEventArgs(Profile profile, Profile previousProfile)
{
Profile = profile;
PreviousProfile = previousProfile;
}
public Profile Profile { get; }
public Profile PreviousProfile { get; }
}
}