public MessageConfiguration(string messageType) { this.MessageType = messageType; if (EventRegistry.IsMessageTypeAlreadyRegistered(this.MessageType)) { EventRegistry.UnRegisterMessageType(this.MessageType); } EventRegistry.RegisterMessageType(this.MessageType, this); }
public MessageConfiguration(string messageType) { this.MessageType = messageType; EventRegistry.RegisterMessageType(this.MessageType, this); }