public static void Serializer(object untypedInput, Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected) { OrleansInterfaces.GrainInformation input = ((OrleansInterfaces.GrainInformation)(untypedInput)); Orleans.Serialization.SerializationManager.SerializeInner(input.DeviceId, stream, typeof(string)); Orleans.Serialization.SerializationManager.SerializeInner(input.Time, stream, typeof(System.DateTime)); Orleans.Serialization.SerializationManager.SerializeInner(input.Value, stream, typeof(string)); }
public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream) { OrleansInterfaces.GrainInformation result = new OrleansInterfaces.GrainInformation(); result.DeviceId = ((string)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(string), stream))); result.Time = ((System.DateTime)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(System.DateTime), stream))); result.Value = ((string)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(string), stream))); return(result); }
public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream) { OrleansInterfaces.GrainInformation result = new OrleansInterfaces.GrainInformation(); result.DeviceId = ((string)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(string), stream))); result.Time = ((System.DateTime)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(System.DateTime), stream))); result.Value = ((string)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(string), stream))); return result; }
System.Threading.Tasks.Task OrleansInterfaces.IAggregatorGrain.SetColor(OrleansInterfaces.GrainInformation @grainInformation) { return(base.InvokeMethodAsync <object>(937813785, new object[] { @grainInformation })); }