/// <summary> /// Helper class constructor to work with Reusable Content. /// </summary> /// <param name="logger">The logger to log info and errors</param> /// <param name="listLocator">List locator to find the ReusableContentList</param> /// <param name="camlBuilder">Caml Builder for the query</param> /// <param name="binder">The entity binder</param> public ReusableContentHelper(ILogger logger, IListLocator listLocator, ICamlBuilder camlBuilder, ISharePointEntityBinder binder) { this.logger = logger; this.listLocator = listLocator; this.camlBuilder = camlBuilder; this.binder = binder; }
/// <summary> /// Initializes a new instance of the <see cref="DiscussionRepository" /> class. /// </summary> /// <param name="config">The configuration.</param> /// <param name="camlBuilder">The CAML builder.</param> /// <param name="listLocator">The list locator.</param> /// <param name="binder">The binder.</param> /// <param name="logger">The logger.</param> public DiscussionRepository( ISocialDiscussionsConfig config, ICamlBuilder camlBuilder, IListLocator listLocator, ISharePointEntityBinder binder, ILogger logger) { this.config = config; this.camlBuilder = camlBuilder; this.listLocator = listLocator; this.binder = binder; this.logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="ComposedLookRepository"/> class. /// </summary> /// <param name="binder">The binder.</param> public ComposedLookRepository(ISharePointEntityBinder binder) { this._binder = binder; }
/// <summary> /// Initializes a new instance of <see cref="PublishedLinksEditor"/> /// </summary> /// <param name="listLocator">The list locator</param> /// <param name="entityBinder">The entity binder</param> public PublishedLinksEditor(IListLocator listLocator, ISharePointEntityBinder entityBinder) { this.listLocator = listLocator; this.entityBinder = entityBinder; }
/// <summary> /// Constructor to inject repository dependencies /// </summary> /// <param name="binder">The entity binder for mappings between list items and entities</param> /// <param name="wallRepliesRepository">Wall replies repository</param> /// <param name="log">Logging utility</param> public WallPostRepository(ISharePointEntityBinder binder, IWallReplyRepository wallRepliesRepository, ILogger log) { this._binder = binder; this._wallRepliesRepository = wallRepliesRepository; this._log = log; }
/// <summary> /// Constructor to inject repository dependencies /// </summary> /// <param name="binder">The entity binder for mappings between list items and entities</param> public WallReplyRepository(ISharePointEntityBinder binder) { this._binder = binder; }