예제 #1
0
 private SendFormat CreateSendFormat(SendActionTypes actionType, object obj)
 {
     return(new SendFormat
     {
         SendActionType = actionType,
         Arguments = JsonConvert.SerializeObject(obj, Settings)
     });
 }
예제 #2
0
 public static Type GetRecieveArgumentsType(SendActionTypes type)
 {
     return(Dictionary[type].Type);
 }
예제 #3
0
 public static string GetRecieveMethod(SendActionTypes type)
 {
     return(Dictionary[type].MethodName);
 }