public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     EventJournal.Address result = new EventJournal.Address();
     result.Id   = ((System.Guid)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(System.Guid), stream)));
     result.Kind = ((string)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(string), stream)));
     return(result);
 }
 public static object DeepCopier(object original)
 {
     EventJournal.Address input  = ((EventJournal.Address)(original));
     EventJournal.Address result = new EventJournal.Address();
     Orleans.Serialization.SerializationContext.Current.RecordObject(original, result);
     result.Id   = ((System.Guid)(Orleans.Serialization.SerializationManager.DeepCopyInner(input.Id)));
     result.Kind = input.Kind;
     return(result);
 }
 public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     EventJournal.Address result = new EventJournal.Address();
     result.Id = ((System.Guid)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(System.Guid), stream)));
     result.Kind = ((string)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(string), stream)));
     return result;
 }
 public static object DeepCopier(object original)
 {
     EventJournal.Address input = ((EventJournal.Address)(original));
     EventJournal.Address result = new EventJournal.Address();
     Orleans.Serialization.SerializationContext.Current.RecordObject(original, result);
     result.Id = ((System.Guid)(Orleans.Serialization.SerializationManager.DeepCopyInner(input.Id)));
     result.Kind = input.Kind;
     return result;
 }
 public static void Serializer(object untypedInput, Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected)
 {
     EventJournal.Address input = ((EventJournal.Address)(untypedInput));
     Orleans.Serialization.SerializationManager.SerializeInner(input.Id, stream, typeof(System.Guid));
     Orleans.Serialization.SerializationManager.SerializeInner(input.Kind, stream, typeof(string));
 }