public ZincScalarType(ZincScalar scalar) { this.scalar = scalar; }
/// <summary> /// Converts the given <see cref="ZincScalar"/> to its literal counterpart. /// </summary> /// <returns>The scalar literal of the given <see cref="ZincScalar"/>.</returns> /// <param name="scalar">The given <see cref="ZincScalar"/> to convert to its literal counterpart.</param> public static string ScalarLiteral(ZincScalar scalar) { Contract.Ensures(Contract.Result <string> () != null); Contract.Ensures(Contract.Result <string> ().Length > 0x00); return(scalar.ToString().ToLower()); }
public ZincScalarType(ZincScalar scalar) { this.scalar = scalar; }
/// <summary> /// Converts the given <see cref="ZincScalar"/> to its literal counterpart. /// </summary> /// <returns>The scalar literal of the given <see cref="ZincScalar"/>.</returns> /// <param name="scalar">The given <see cref="ZincScalar"/> to convert to its literal counterpart.</param> public static string ScalarLiteral(ZincScalar scalar) { Contract.Ensures (Contract.Result<string> () != null); Contract.Ensures (Contract.Result<string> ().Length > 0x00); return scalar.ToString ().ToLower (); }
public ZincType(ZincCompound compound, ZincScalar scalar) { this.data = (ulong)(0x03 * (byte)compound + (byte)scalar); }
public ZincType(ZincScalar scalar) { this.data = (byte)scalar; }
public ZincType(ZincCompound compound, ZincScalar scalar) { this.data = (ulong)(0x03 * (byte)compound + (byte)scalar); }
public ZincType(ZincScalar scalar) { this.data = (byte)scalar; }