示例#1
0
 /// <summary>
 /// Initializes the build context
 /// </summary>
 /// <param name="cachedBuilderFactory">Interface to create new cached builders</param>
 public BuildContext(ICachedBuilderFactory cachedBuilderFactory)
 {
     this.cachedBuilderFactory = cachedBuilderFactory;
 }
示例#2
0
 /// <summary>
 /// Initializes the build context
 /// </summary>
 /// <param name="cachedBuilderFactory">Interface to create new cached builders</param>
 /// <param name="monitoredBuilderFactory">Interface to create new monitored builders</param>
 /// <param name="createBuilderStatistics">Factory function for IBuilderStatistics instances</param>
 public BuildContext(ICachedBuilderFactory cachedBuilderFactory, IMonitoredBuilderFactory monitoredBuilderFactory, Func <IBuilderStatistics> createBuilderStatistics)
 {
     this.cachedBuilderFactory    = cachedBuilderFactory;
     this.monitoredBuilderFactory = monitoredBuilderFactory;
     this.createBuilderStatistics = createBuilderStatistics;
 }
示例#3
0
 /// <summary>
 /// Initializes the build context
 /// </summary>
 /// <param name="cachedBuilderFactory">Interface to create new cached builders</param>
 public BuildContext(ICachedBuilderFactory cachedBuilderFactory)
 {
     this.cachedBuilderFactory = cachedBuilderFactory;
 }
示例#4
0
 /// <summary>
 /// Initializes the build context
 /// </summary>
 /// <param name="cachedBuilderFactory">Interface to create new cached builders</param>
 /// <param name="monitoredBuilderFactory">Interface to create new monitored builders</param>
 /// <param name="createBuilderStatistics">Factory function for IBuilderStatistics instances</param>
 public BuildContext(ICachedBuilderFactory cachedBuilderFactory, IMonitoredBuilderFactory monitoredBuilderFactory, Func<IBuilderStatistics> createBuilderStatistics)
 {
     this.cachedBuilderFactory = cachedBuilderFactory;
     this.monitoredBuilderFactory = monitoredBuilderFactory;
     this.createBuilderStatistics = createBuilderStatistics;
 }