Esempio n. 1
0
 //Constructor
 /// <summary>
 /// Creates an initialized instance.
 /// </summary>
 /// <param name="availableFieldNames">The collection of names of all available input fields.</param>
 /// <param name="cfg">The configuration.</param>
 public CDivTransformer(List <string> availableFieldNames, CDivTransformerSettings cfg)
 {
     _cfg      = (CDivTransformerSettings)cfg.DeepClone();
     _fieldIdx = availableFieldNames.IndexOf(_cfg.InputFieldName);
     return;
 }
Esempio n. 2
0
 //Constructor
 /// <summary>
 /// Creates an initialized instance
 /// </summary>
 /// <param name="availableFieldNames">Collection of names of all available input fields</param>
 /// <param name="settings">Configuration</param>
 public CDivTransformer(List <string> availableFieldNames, CDivTransformerSettings settings)
 {
     _settings = (CDivTransformerSettings)settings.DeepClone();
     _fieldIdx = availableFieldNames.IndexOf(_settings.InputFieldName);
     return;
 }
Esempio n. 3
0
 /// <summary>
 /// The deep copy constructor.
 /// </summary>
 /// <param name="source">The source instance.</param>
 public CDivTransformerSettings(CDivTransformerSettings source)
     : this(source.InputFieldName, source.C)
 {
     return;
 }