Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SelectorTestObject<T> : ProductionSelectorBase<T>
- {
- private Func<T, IList<IProductionbyEmployee>> _getProduction;
- public SelectorTestObject(IProductionDataViewer viewer, IProductionbyEmployeeCRUD crud, Func<T, IList<IProductionbyEmployee>> getProduction)
- : base(viewer, crud)
- {
- _getProduction = getProduction;
- }
- protected override IList<IProductionbyEmployee> GetProduction(T searchArgs)
- {
- return _getProduction(searchArgs);
- }
- }
Add Comment
Please, Sign In to add comment