mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-04-04 12:28:21 +00:00
Layout
This commit is contained in:
27
Libraries/Esiur/Resource/CustomEventOccurredInfo.cs
Normal file
27
Libraries/Esiur/Resource/CustomEventOccurredInfo.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Esiur.Data.Types;
|
||||
using Esiur.Security.Authority;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Esiur.Resource;
|
||||
|
||||
public class CustomEventOccurredInfo
|
||||
{
|
||||
public readonly EventDef EventDef;
|
||||
public readonly IResource Resource;
|
||||
public readonly object Value;
|
||||
public readonly object Issuer;
|
||||
public readonly Func<Session, bool> Receivers;
|
||||
|
||||
public string Name => EventDef.Name;
|
||||
|
||||
public CustomEventOccurredInfo(IResource resource, EventDef eventDef, Func<Session, bool> receivers, object issuer, object value)
|
||||
{
|
||||
Resource = resource;
|
||||
EventDef = eventDef;
|
||||
Receivers = receivers;
|
||||
Issuer = issuer;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user