예제 #1
0
 public EntityMessageProcessor(IHost host, IEntityCollection collection)
 {
     _msgd = host.ServiceManager.GetProvider<MsgDes>();
     _collection=collection;
 }
예제 #2
0
 public EntityMessage(IHost host, int entity, Message message)
 {
     _serializer = host.ServiceManager.GetProvider<MsgDes>();
     Entity = entity;
     Message = message;
 }