Guest User

Untitled

a guest
Nov 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.58 KB | None | 0 0
  1. class SelectorTestObject<T> : ProductionSelectorBase<T>
  2.         {
  3.             private Func<T, IList<IProductionbyEmployee>> _getProduction;
  4.  
  5.             public SelectorTestObject(IProductionDataViewer viewer, IProductionbyEmployeeCRUD crud, Func<T, IList<IProductionbyEmployee>> getProduction)
  6.                 : base(viewer, crud)
  7.             {
  8.                 _getProduction = getProduction;
  9.             }
  10.  
  11.             protected override IList<IProductionbyEmployee> GetProduction(T searchArgs)
  12.             {
  13.                 return _getProduction(searchArgs);
  14.             }
  15.         }
Add Comment
Please, Sign In to add comment