public static void Upload <TResult, P1, P2, P3, P4>(this UploadItemController <TResult> controller, P1 param1, P2 param2, P3 param3, P4 param4) { controller.UploadParam <P1>(controller.streamingIds[0], param1); controller.UploadParam <P2>(controller.streamingIds[1], param2); controller.UploadParam <P3>(controller.streamingIds[2], param3); controller.UploadParam <P4>(controller.streamingIds[3], param4); }
public static void Upload <TResult, P1, P2>(this UploadItemController <TResult> controller, P1 param1, P2 param2) { controller.UploadParam <P1>(controller.streamingIds[0], param1); controller.UploadParam <P2>(controller.streamingIds[1], param2); }
public static void Upload <TResult, P1>(this UploadItemController <TResult> controller, P1 item) { controller.UploadParam <P1>(controller.streamingIds[0], item); }