예제 #1
0
 public static void VoidWithEightParameters(
     ComplexParameter parameter1,
     byte parameter2,
     DotNetObjectRef <TestDTO> parameter3,
     int parameter4,
     long parameter5,
     float parameter6,
     List <double> parameter7,
     Segment parameter8)
 {
     Invocations[nameof(VoidWithEightParameters)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7, parameter8 };
 }
예제 #2
0
 public static Task <object[]> EchoEightParametersAsync(
     ComplexParameter parameter1,
     byte parameter2,
     DotNetObjectReference <TestDTO> parameter3,
     int parameter4,
     long parameter5,
     float parameter6,
     List <double> parameter7,
     Segment parameter8)
 {
     return(Task.FromResult(new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7, parameter8 }));
 }
예제 #3
0
 public static Task VoidWithSevenParametersAsync(
     ComplexParameter parameter1,
     byte parameter2,
     DotNetObjectReference <TestDTO> parameter3,
     int parameter4,
     long parameter5,
     float parameter6,
     List <double> parameter7)
 {
     Invocations[nameof(VoidWithSevenParametersAsync)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7 };
     return(Task.CompletedTask);
 }
예제 #4
0
 public static object[] EchoEightParameters(
     ComplexParameter parameter1,
     byte parameter2,
     DotNetObjectReference<TestDTO> parameter3,
     int parameter4,
     long parameter5,
     float parameter6,
     List<double> parameter7,
     Segment parameter8)
 {
     return new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7, parameter8 };
 }
예제 #5
0
 public static Task VoidWithEightParametersAsync(
     ComplexParameter parameter1,
     byte parameter2,
     TestDTO parameter3,
     int parameter4,
     long parameter5,
     float parameter6,
     List <double> parameter7,
     Segment parameter8)
 {
     Invocations[nameof(VoidWithEightParametersAsync)] = new object[] { parameter1, parameter2, parameter3.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7, parameter8 };
     return(Task.CompletedTask);
 }
예제 #6
0
 public static void VoidWithTwoParameters(
     ComplexParameter parameter1,
     byte parameter2)
 {
     Invocations[nameof(VoidWithTwoParameters)] = new object[] { parameter1, parameter2 };
 }
예제 #7
0
 public static void VoidWithOneParameter(ComplexParameter parameter1)
 {
     Invocations[nameof(VoidWithOneParameter)] = new object[] { parameter1 };
 }
예제 #8
0
 public static Task <object[]> EchoTwoParametersAsync(
     ComplexParameter parameter1,
     byte parameter2)
 {
     return(Task.FromResult(new object[] { parameter1, parameter2 }));
 }
예제 #9
0
 public static Task <object[]> EchoOneParameterAsync(ComplexParameter parameter1)
 {
     return(Task.FromResult(new object[] { parameter1 }));
 }
예제 #10
0
 public static Task VoidWithOneParameterAsync(ComplexParameter parameter1)
 {
     Invocations[nameof(VoidWithOneParameterAsync)] = new object[] { parameter1 };
     return(Task.CompletedTask);
 }
예제 #11
0
 public static object[] EchoTwoParameters(
     ComplexParameter parameter1,
     byte parameter2)
 {
     return(new object[] { parameter1, parameter2 });
 }
예제 #12
0
 public static object[] EchoOneParameter(ComplexParameter parameter1)
 {
     return(new object[] { parameter1 });
 }