Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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);
Ejemplo n.º 3
0
 /// <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();
 }
Ejemplo n.º 4
0
 /// <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);