예제 #1
0
 public static global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     global::Shared.RealmStatus result = new global::Shared.RealmStatus();
     global::Orleans.@Serialization.@DeserializationContext.@Current.@RecordObject(result);
     field0.@SetValue(result, (global::System.Int32)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::System.Int32), stream));
     field2.@SetValue(result, (global::System.DateTime)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::System.DateTime), stream));
     field1.@SetValue(result, (global::System.UInt32)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof (global::System.UInt32), stream));
     return (global::Shared.RealmStatus)result;
 }
예제 #2
0
 public static global::System.Object DeepCopier(global::System.Object original)
 {
     global::Shared.RealmStatus input = ((global::Shared.RealmStatus)original);
     global::Shared.RealmStatus result = new global::Shared.RealmStatus();
     global::Orleans.@Serialization.@SerializationContext.@Current.@RecordObject(original, result);
     field0.@SetValue(result, field0.@GetValue(input));
     field2.@SetValue(result, field2.@GetValue(input));
     field1.@SetValue(result, field1.@GetValue(input));
     return result;
 }