Esempio n. 1
0
 public static object DeepCopier(object original)
 {
     Example.InventoryItemDeactivated input  = ((Example.InventoryItemDeactivated)(original));
     Example.InventoryItemDeactivated result = new Example.InventoryItemDeactivated();
     Orleans.Serialization.SerializationContext.Current.RecordObject(original, result);
     return(result);
 }
Esempio n. 2
0
 public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     Example.InventoryItemDeactivated result = new Example.InventoryItemDeactivated();
     return result;
 }
Esempio n. 3
0
 public static object DeepCopier(object original)
 {
     Example.InventoryItemDeactivated input = ((Example.InventoryItemDeactivated)(original));
     Example.InventoryItemDeactivated result = new Example.InventoryItemDeactivated();
     Orleans.Serialization.SerializationContext.Current.RecordObject(original, result);
     return result;
 }
Esempio n. 4
0
 void On(InventoryItemDeactivated e) => active = false;
Esempio n. 5
0
 void On(InventoryItemDeactivated e) => active = false;
Esempio n. 6
0
 void On(InventoryItemDeactivated e) => State = nameof(Deactivated);
Esempio n. 7
0
 public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     Example.InventoryItemDeactivated result = new Example.InventoryItemDeactivated();
     return(result);
 }
Esempio n. 8
0
 public static void Serializer(object untypedInput, Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected)
 {
     Example.InventoryItemDeactivated input = ((Example.InventoryItemDeactivated)(untypedInput));
 }
Esempio n. 9
0
 public void On(InventoryItemDeactivated e)
 {
     active = false;
 }
Esempio n. 10
0
 public void On(InventoryItemDeactivated e)
 {
     active = false;
 }