예제 #1
0
 public global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.IDeserializationContext context)
 {
     global::Grain.Interfaces.States.AccountState result = new global::Grain.Interfaces.States.AccountState();
     context.RecordObject(result);
     result.AccountBalance = (global::System.Double)context.DeserializeInner(typeof(global::System.Double));
     return((global::Grain.Interfaces.States.AccountState)result);
 }
예제 #2
0
 public global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.IDeserializationContext context)
 {
     global::Entity.GoodsEntity result = new global::Entity.GoodsEntity();
     context.RecordObject(result);
     result.GoodsName = (global::System.String)context.DeserializeInner(typeof(global::System.String));
     result.ID        = (global::System.Int32)context.DeserializeInner(typeof(global::System.Int32));
     return((global::Entity.GoodsEntity)result);
 }
예제 #3
0
 public global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.IDeserializationContext context)
 {
     global::Grains.CustomerState result = new global::Grains.CustomerState();
     context.RecordObject(result);
     result.Id   = (global::System.Guid)context.DeserializeInner(typeof(global::System.Guid));
     result.Name = (global::System.String)context.DeserializeInner(typeof(global::System.String));
     return((global::Grains.CustomerState)result);
 }
예제 #4
0
 public global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.IDeserializationContext context)
 {
     global::Entities.RateLimitParameter result = new global::Entities.RateLimitParameter();
     context.RecordObject(result);
     result.BucketSize = (global::System.Double)context.DeserializeInner(typeof(global::System.Double));
     result.Rate       = (global::System.Double)context.DeserializeInner(typeof(global::System.Double));
     return((global::Entities.RateLimitParameter)result);
 }
예제 #5
0
 public global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.IDeserializationContext context)
 {
     global::Entity.OrderEntity result = new global::Entity.OrderEntity();
     context.RecordObject(result);
     result.CommodiItynformation = (global::Entity.GoodsEntity)context.DeserializeInner(typeof(global::Entity.GoodsEntity));
     result.GoodsID = (global::System.Int32)context.DeserializeInner(typeof(global::System.Int32));
     result.ID      = (global::System.Int32)context.DeserializeInner(typeof(global::System.Int32));
     result.Number  = (global::System.Int32)context.DeserializeInner(typeof(global::System.Int32));
     return((global::Entity.OrderEntity)result);
 }