示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ControllerCollection{TElement}"/> class
 /// with the specified <see cref="IDataContextFinder{TElement}"/>, <see cref="IDataContextInjector"/>,
 /// <see cref="IElementInjector{TElement}"/>, and the enumerable of the <see cref="IControllerExtension{TElement}"/>.
 /// </summary>
 /// <param name="dataContextFinder">The finder to find a data context.</param>
 /// <param name="dataContextInjector">The injector to inject a data context.</param>
 /// <param name="elementInjector">The injector to inject elements.</param>
 /// <param name="extensions">The extensions for a controller.</param>
 protected ControllerCollection(IDataContextFinder <TElement> dataContextFinder, IDataContextInjector dataContextInjector, IElementInjector <TElement> elementInjector, IEnumerable <IControllerExtension <TElement> > extensions)
 {
     this.dataContextFinder   = dataContextFinder;
     this.dataContextInjector = dataContextInjector;
     this.elementInjector     = elementInjector;
     this.extensions          = extensions;
 }
 public ControllerCollectionTss(IDataContextFinder <TestElement> dataContextFinder, IDataContextInjector dataContextInjector, IElementInjector <TestElement> elementInjector, IEnumerable <IControllerExtension <TestElement> > extensions) : base(dataContextFinder, dataContextInjector, elementInjector, extensions)
 {
 }