/// <summary> /// Writes new content to the variable /// </summary> /// <param name="value">Content to be written to the variable</param> /// <returns>true if variable was written successfully, false otherwise</returns> public override bool Write(ISVSerializable value) { if (value is T) { return(Write((T)value)); } return(false); }
/// <summary> /// Writes new content to the variable /// </summary> /// <param name="value">Content to be written to the variable</param> /// <returns>true if variable was written successfully, false otherwise</returns> public abstract bool Write(ISVSerializable value);
/// <summary> /// Reads the content of the variable /// </summary> /// <param name="value">When this method returns contains the content of the variable</param> /// <returns>true if variable was readed successfully, false otherwise</returns> public override void Read(out ISVSerializable value) { value = Read(); }
/// <summary> /// Reads the content of the variable /// </summary> /// <param name="value">When this method returns contains the content of the variable</param> public abstract void Read(out ISVSerializable value);