Example #1
0
 /// <summary>
 /// The deep copy constructor.
 /// </summary>
 /// <param name="source">The source instance.</param>
 public LogTransformerSettings(LogTransformerSettings source)
     : this(source.InputFieldName, source.Base)
 {
     return;
 }
Example #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 LogTransformer(List <string> availableFieldNames, LogTransformerSettings settings)
 {
     _settings = (LogTransformerSettings)settings.DeepClone();
     _fieldIdx = availableFieldNames.IndexOf(_settings.InputFieldName);
     return;
 }
Example #3
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 LogTransformer(List <string> availableFieldNames, LogTransformerSettings cfg)
 {
     _cfg      = (LogTransformerSettings)cfg.DeepClone();
     _fieldIdx = availableFieldNames.IndexOf(_cfg.InputFieldName);
     return;
 }