Grouped event classes

This commit is contained in:
RogueException
2016-01-18 04:23:29 -04:00
parent 2efcd3675d
commit fc3f4c853e
10 changed files with 16 additions and 14 deletions

View File

@@ -0,0 +1,16 @@
using System;
namespace Discord
{
public class ProfileUpdatedEventArgs : EventArgs
{
public Profile Before { get; }
public Profile After { get; }
public ProfileUpdatedEventArgs(Profile before, Profile after)
{
Before = before;
After = after;
}
}
}

View File

@@ -1,14 +0,0 @@
using System;
namespace Discord
{
public class ProfileEventArgs : EventArgs
{
public Profile Profile { get; }
public ProfileEventArgs(Profile profile)
{
Profile = profile;
}
}
}