Exemple #1
0
 public SimpleFindInteractor(ISimpleFindDataAccessor <TOrder, TDataGridSource> component, IApplication application)
 {
     _component   = component;
     _application = application;
 }
 /// <summary>
 /// Instantiates the <see cref="ModifyableTemplatedFindViewModel{TDataGridSource, TDataCollector, TModifyable, TSearchOrder, TSearchReturn}"/> class.
 /// </summary>
 /// <param name="dataAccessor">The object which fills the role of data access.</param>
 /// <param name="validator">The validator used.</param>
 /// <param name="dataCollectorInitializer">A function which initializes the <see cref="DataCollector"/>.</param>
 public ModifyableTemplatedFindViewModel(ISimpleFindDataAccessor <TSearchOrder, TSearchReturn> dataAccessor, IValidate <string> validator, Func <TDataCollector> dataCollectorInitializer) : base(validator, dataCollectorInitializer)
 {
     _dataAccessor = dataAccessor;
 }
 public SimplifiedModifyableTemplatedFindViewModel(ISimpleFindDataAccessor <TSearchCriteria, TSearchResults> dataAccessor, IValidate <string> validator, Func <TSearchCriteriaImplementation> dataCollectorInitializer) : base(dataAccessor, validator, dataCollectorInitializer)
 {
 }
Exemple #4
0
 public NonSortingModifyableTemplatedFindViewModel(ISimpleFindDataAccessor <TSearchOrder, TDataGridSource> dataAccessor, IValidate <string> validator, Func <TDataCollector> dataCollectorInitializer) : base(dataAccessor, validator, dataCollectorInitializer)
 {
 }