示例#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);
 }
示例#2
0
 public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     Example.InventoryItemDeactivated result = new Example.InventoryItemDeactivated();
     return result;
 }
示例#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;
 }
示例#4
0
 void On(InventoryItemDeactivated e) => active = false;
示例#5
0
 void On(InventoryItemDeactivated e) => active = false;
示例#6
0
 void On(InventoryItemDeactivated e) => State = nameof(Deactivated);
示例#7
0
 public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     Example.InventoryItemDeactivated result = new Example.InventoryItemDeactivated();
     return(result);
 }
示例#8
0
 public static void Serializer(object untypedInput, Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected)
 {
     Example.InventoryItemDeactivated input = ((Example.InventoryItemDeactivated)(untypedInput));
 }
示例#9
0
 public void On(InventoryItemDeactivated e)
 {
     active = false;
 }
示例#10
0
文件: Domain.cs 项目: zloom/Orleankka
 public void On(InventoryItemDeactivated e)
 {
     active = false;
 }