Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Utility to find items by name or url
 /// </summary>
 /// <param name="listLocator">List locator utility</param>
 /// <param name="caml">CAML building utility</param>
 public ItemLocator(IListLocator listLocator, ICamlBuilder caml)
 {
     this.listLocator = listLocator;
     this.caml        = caml;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Utility to find items by name or url
 /// </summary>
 /// <param name="listLocator">List locator utility</param>
 /// <param name="caml">CAML building utility</param>
 public ItemLocator(IListLocator listLocator, ICamlBuilder caml)
 {
     this.listLocator = listLocator;
     this.caml = caml;
 }