Пример #1
0
 public Message(MessageDefinition messageDefinition)
 {
     _messageDefinition = messageDefinition;
 }
Пример #2
0
 public static Message Create(MessageDefinition messageDefinition)
 {
     return((Message)Activator.CreateInstance(messageDefinition.Type));
 }