Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExValue"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 public ExValue(double value)
 {
     _type  = ExValueType.Double;
     _value = _dbl = value;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExValue"/> class.
 /// </summary>
 /// <param name="value">if set to <c>true</c> [value].</param>
 public ExValue(bool value)
 {
     _type  = ExValueType.Boolean;
     _value = _bl = value;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExValue"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 public ExValue(int value)
 {
     _type  = ExValueType.Int;
     _value = _number = value;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExValue"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 public ExValue(string value)
 {
     _type  = ExValueType.String;
     _value = _str = value;
 }