IPC/Transport/ComponentEventArgs.cs

21 строка
386 B
C#

using System;
namespace IPC.Managed
{
public class ComponentEventArgs<T> : EventArgs
where T : IComponent
{
private readonly T _component;
public ComponentEventArgs(T component)
{
_component = component;
}
public T Component
{
get { return _component; }
}
}
}