зеркало из https://github.com/microsoft/IPC.git
21 строка
386 B
C#
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; }
|
|||
|
}
|
|||
|
}
|
|||
|
}
|