Guest User

Untitled

a guest
Apr 26th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. namespace Builders
  2. {
  3. public abstract class BuilderBase<TBuilder, TBuild> where TBuilder : BuilderBase<TBuilder, TBuild>
  4. {
  5. protected TBuilder Set<T>(ref T target, T value)
  6. {
  7. target = value; return (TBuilder)this;
  8. }
  9.  
  10. public abstract TBuild Build();
  11. }
  12. }
Add Comment
Please, Sign In to add comment