Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Builders
- {
- public abstract class BuilderBase<TBuilder, TBuild> where TBuilder : BuilderBase<TBuilder, TBuild>
- {
- protected TBuilder Set<T>(ref T target, T value)
- {
- target = value; return (TBuilder)this;
- }
- public abstract TBuild Build();
- }
- }
Add Comment
Please, Sign In to add comment