mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-03-31 18:38:22 +00:00
27 lines
552 B
C#
27 lines
552 B
C#
using Esiur.Data.Types;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Esiur.Resource
|
|
{
|
|
|
|
public class EventOccurredInfo
|
|
{
|
|
|
|
public readonly EventDef Definition;
|
|
|
|
public string Name => Definition.Name;
|
|
|
|
public readonly IResource Resource;
|
|
public readonly object Value;
|
|
|
|
public EventOccurredInfo(IResource resource, EventDef eventDef, object value)
|
|
{
|
|
Resource = resource;
|
|
Value = value;
|
|
Definition = eventDef;
|
|
}
|
|
}
|
|
}
|