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