mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
e43aec1c5e
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4778 21ef857c-d57f-4fe0-8362-d861dc6d29cd
25 lines
440 B
C#
25 lines
440 B
C#
using System;
|
|
|
|
namespace ProcessHacker.Common.Messaging
|
|
{
|
|
public class Message
|
|
{
|
|
public object Tag { get; set; }
|
|
}
|
|
|
|
public class ActionMessage : Message
|
|
{
|
|
private readonly Action _action;
|
|
|
|
public ActionMessage(Action action)
|
|
{
|
|
_action = action;
|
|
}
|
|
|
|
public Action Action
|
|
{
|
|
get { return _action; }
|
|
}
|
|
}
|
|
}
|