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); }
public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream) { Example.InventoryItemDeactivated result = new Example.InventoryItemDeactivated(); return result; }
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; }
void On(InventoryItemDeactivated e) => active = false;
void On(InventoryItemDeactivated e) => State = nameof(Deactivated);
public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream) { Example.InventoryItemDeactivated result = new Example.InventoryItemDeactivated(); return(result); }
public static void Serializer(object untypedInput, Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected) { Example.InventoryItemDeactivated input = ((Example.InventoryItemDeactivated)(untypedInput)); }
public void On(InventoryItemDeactivated e) { active = false; }