예제 #1
0
 public static FakeQueueData ToEvent(OtherFakeQueueData x)
 {
     return(new FakeQueueData
     {
         ExtraPropertery = x._test
     });
 }
예제 #2
0
 // Send a Poco type with a direct conversion to the native type.
 // This skips JSON serialization because the IConverterManager has a direct conversion.
 public static void SendOneOtherNative([FakeQueue] out OtherFakeQueueData output)
 {
     output = new OtherFakeQueueData
     {
         _test = "direct"
     };
 }