Ejemplo n.º 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;
        }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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;
		}
Ejemplo n.º 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);
			}
		}