Grouped event classes
This commit is contained in:
16
src/Discord.Net/Events/ProfileUpdatedEventArgs.cs
Normal file
16
src/Discord.Net/Events/ProfileUpdatedEventArgs.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Discord
|
||||
{
|
||||
public class ProfileEventArgs : EventArgs
|
||||
{
|
||||
public Profile Profile { get; }
|
||||
|
||||
public ProfileEventArgs(Profile profile)
|
||||
{
|
||||
Profile = profile;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user