示例#1
0
 public TerminationMessage(string sessionId, TerminationMessageCode messageCode, VaspInformation vasp)
 {
     MessageType = MessageType.Termination;
     Message     = new Message(
         Guid.NewGuid().ToString(),
         sessionId,
         GetMessageCode(messageCode));
     VASP = vasp;
 }
示例#2
0
 public static string GetMessageCode(TerminationMessageCode messageCode)
 {
     return(((int)messageCode).ToString());
 }