Exemple #1
0
        /// <summary>
        /// Define a new column in the output set with the given name and scaler.
        /// </summary>
        /// <param name="name">The column name</param>
        /// <param name="scaler">The scaler used to transform the column</param>
        public void DefineColumn(string name, Scaler scaler)
        {
            Column column = new Column();

            column.Scaler = scaler;
            column.Name   = name;
            columns.Add(column);
            columnByName[name] = column;
        }
Exemple #2
0
 /// <summary>
 /// Chaines another scaler to this scaler.
 /// </summary>
 /// <param name="scaler">Another scaler</param>
 public void AddScaler(Scaler scaler)
 {
     if (composite != null)
     {
         composite = scaler;
     }
     else
     {
         composite.AddScaler(scaler);
     }
 }
Exemple #3
0
		/// <summary>
		/// Define a new column in the output set with the given name and scaler.
		/// </summary>
		/// <param name="name">The column name</param>
		/// <param name="scaler">The scaler used to transform the column</param>
		public void DefineColumn(string name, Scaler scaler) {
			Column column = new Column();
			column.Scaler = scaler;
			column.Name = name;
			columns.Add(column);
			columnByName[name] = column;
		}
Exemple #4
0
		/// <summary>
		/// Chaines another scaler to this scaler.
		/// </summary>
		/// <param name="scaler">Another scaler</param>
		public void AddScaler(Scaler scaler) {
			if(composite != null) {
				composite = scaler;
			} 
			else {
				composite.AddScaler(scaler);
			}
		}