コード例 #1
0
 /// <summary>
 /// Add a ranged mapped to a value.
 /// </summary>
 /// <param name="low">The low value for the range.</param>
 /// <param name="high">The high value for the range.</param>
 /// <param name="value">The value that the field should produce for this range.</param>
 public void AddRange(double low, double high, double value)
 {
     var range = new MappedRange(low, high, value);
     _ranges.Add(range);
 }
コード例 #2
0
        /// <summary>
        /// Add a ranged mapped to a value.
        /// </summary>
        /// <param name="low">The low value for the range.</param>
        /// <param name="high">The high value for the range.</param>
        /// <param name="value">The value that the field should produce for this range.</param>
        public void AddRange(double low, double high, double value)
        {
            var range = new MappedRange(low, high, value);

            _ranges.Add(range);
        }
コード例 #3
0
ファイル: OutputFieldEncode.cs プロジェクト: neismit/emds
 public void AddRange(double low, double high, double value)
 {
     MappedRange item = new MappedRange(low, high, value);
     this._ranges.Add(item);
 }