using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ScrewTurn.Wiki.PluginFramework {
///
/// Contains arguments for the User Group Activity events.
///
public class UserGroupActivityEventArgs : EventArgs {
private UserGroup group;
private UserGroupActivity activity;
///
/// Initializes a new instance of the class.
///
/// The user group the activity refers to.
/// The activity performed.
public UserGroupActivityEventArgs(UserGroup group, UserGroupActivity activity) {
this.group = group;
this.activity = activity;
}
///
/// Gets the user group the activity refers to.
///
public UserGroup Group {
get { return group; }
}
///
/// Gets the activity performed.
///
public UserGroupActivity Activity {
get { return activity; }
}
}
///
/// Lists legal user group activity types.
///
public enum UserGroupActivity {
///
/// A group has been added.
///
GroupAdded,
///
/// A group has been removed.
///
GroupRemoved,
///
/// A group has been modified.
///
GroupModified
}
}