Exemple #1
0
 private static void TestConvert(WorkflowRequest request)
 {
     TestConvert1(request.ToSpecificWorkflowRequest <PushWorkflowRequest>());
 }
Exemple #2
0
 public static T ToSpecificWorkflowRequest <T>(this WorkflowRequest request)
     where T : WorkflowRequest
 => JObject.FromObject(request).ToObject <T>();