Пример #1
0
 /// <summary>
 /// Default constructor with dependency injection
 /// </summary>
 /// <param name="taxonomyHelper">The taxonomy helper</param>
 /// <param name="fieldSchemaHelper">Field schema builder</param>
 /// <param name="fieldValueWriter">Field value wirter</param>
 /// <param name="log">Logging utility</param>
 public FieldHelper(ITaxonomyHelper taxonomyHelper, IFieldSchemaHelper fieldSchemaHelper, IFieldValueWriter fieldValueWriter, ILogger log)
 {
     this.taxonomyHelper = taxonomyHelper;
     this.fieldSchemaHelper = fieldSchemaHelper;
     this.fieldValueWriter = fieldValueWriter;
     this.log = log;
 }
Пример #2
0
 /// <summary>
 /// Default constructor with dependency injection
 /// </summary>
 /// <param name="taxonomyHelper">The taxonomy helper</param>
 /// <param name="fieldSchemaHelper">Field schema builder</param>
 /// <param name="fieldValueWriter">Field value wirter</param>
 /// <param name="log">Logging utility</param>
 public FieldHelper(ITaxonomyHelper taxonomyHelper, IFieldSchemaHelper fieldSchemaHelper, IFieldValueWriter fieldValueWriter, ILogger log)
 {
     this.taxonomyHelper    = taxonomyHelper;
     this.fieldSchemaHelper = fieldSchemaHelper;
     this.fieldValueWriter  = fieldValueWriter;
     this.log = log;
 }