15 lines
587 B
C#
15 lines
587 B
C#
using OwnChar.Model;
|
|
|
|
namespace OwnChar.Data;
|
|
|
|
public class OnActionEventArgs(DataManagerAction action, DataManagerActionType actionType, UserAccount currentUser, OwnCharObject obj, object?[] parameters) : EventArgs
|
|
{
|
|
public DataManagerAction Action { get; } = action;
|
|
public DataManagerActionType ActionType { get; } = actionType;
|
|
public UserAccount CurrentUser { get; } = currentUser;
|
|
public OwnCharObject Object { get; } = obj;
|
|
public object?[] Parameters { get; } = parameters;
|
|
public bool IsHandled { get; set; }
|
|
public object? Result { get; set; }
|
|
}
|