Beispiel #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;
 }
Beispiel #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;
 }
 /// <summary>
 /// Creates an instance of <see cref="EntitySchemaFactory"/>
 /// </summary>
 /// <param name="fieldValueWriter">Field value writer</param>
 /// <param name="fieldValueReader">Field value reader</param>
 public EntitySchemaFactory(IFieldValueWriter fieldValueWriter, IFieldValueReader fieldValueReader)
 {
     this.fieldValueWriter = fieldValueWriter;
     this.fieldValueReader = fieldValueReader;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new <see cref="PageHelper" /> instance
 /// </summary>
 /// <param name="webPartHelper">Web Part helper</param>
 /// <param name="logger">The logger.</param>
 /// <param name="itemValueWriter">The item value writer.</param>
 public PageHelper(IWebPartHelper webPartHelper, ILogger logger, IFieldValueWriter itemValueWriter)
 {
     this.webPartHelper   = webPartHelper;
     this.logger          = logger;
     this.itemValueWriter = itemValueWriter;
 }
Beispiel #5
0
 /// <summary>
 /// Creates an instance of <see cref="EntitySchemaFactory"/>
 /// </summary>
 /// <param name="fieldValueWriter">Field value writer</param>
 /// <param name="fieldValueReader">Field value reader</param>
 public EntitySchemaFactory(IFieldValueWriter fieldValueWriter, IFieldValueReader fieldValueReader)
 {
     this.fieldValueWriter = fieldValueWriter;
     this.fieldValueReader = fieldValueReader;
 }
Beispiel #6
0
 /// <summary>
 /// Constructor for FolderHelper
 /// </summary>
 /// <param name="logger">The logger helper instance</param>
 /// <param name="pageHelper">The page helper instance</param>
 /// <param name="valueWriter">Field value initializer</param>
 public FolderHelper(ILogger logger, IPageHelper pageHelper, IFieldValueWriter valueWriter)
 {
     this.logger      = logger;
     this.pageHelper  = pageHelper;
     this.valueWriter = valueWriter;
 }
Beispiel #7
0
 /// <summary>
 /// Initializes a new <see cref="PageHelper" /> instance
 /// </summary>
 /// <param name="webPartHelper">Web Part helper</param>
 /// <param name="logger">The logger.</param>
 /// <param name="itemValueWriter">The item value writer.</param>
 public PageHelper(IWebPartHelper webPartHelper, ILogger logger, IFieldValueWriter itemValueWriter)
 {
     this.webPartHelper = webPartHelper;
     this.logger = logger;
     this.itemValueWriter = itemValueWriter;
 }
Beispiel #8
0
 /// <summary>
 /// Constructor for FolderHelper
 /// </summary>
 /// <param name="logger">The logger helper instance</param>
 /// <param name="pageHelper">The page helper instance</param>
 /// <param name="valueWriter">Field value initializer</param>
 public FolderHelper(ILogger logger, IPageHelper pageHelper, IFieldValueWriter valueWriter)
 {
     this.logger = logger;
     this.pageHelper = pageHelper;
     this.valueWriter = valueWriter;
 }