public override void Write(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Write(stream); if (stream.DeepSerialize) { stream.SerializeArray("Screens", this.Screens); } }
public override void Read(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Read(stream); if (stream.DeepSerialize) { this.Screens.Clear(); this.Screens.AddRange(stream.DeserializeObjectArray <SubScreenViewModel>("Screens")); } }
public override void Read(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Read(stream); this.Username = stream.DeserializeString("Username");; this.Password = stream.DeserializeString("Password");; }
public override void Write(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Write(stream); stream.SerializeString("Username", this.Username); stream.SerializeString("Password", this.Password); }
public override void Write(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Write(stream); }
public override void Read(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Read(stream); }
public override void Write(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Write(stream); stream.SerializeFloat("Volume", this.Volume); }
public override void Read(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Read(stream); this.Volume = stream.DeserializeFloat("Volume");; }
public override void Write(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Write(stream); stream.SerializeInt("authState", (int)this.authState);; }
public override void Read(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Read(stream); this.authState = (AuthState)stream.DeserializeInt("authState");; }
public override void Write(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Write(stream); stream.SerializeBool("IsActive", this.IsActive); }
public override void Read(uFrame.Kernel.Serialization.ISerializerStream stream) { base.Read(stream); this.IsActive = stream.DeserializeBool("IsActive");; }