Skip to content

Instantly share code, notes, and snippets.

View nikaburu's full-sized avatar

Herman Starzhynski nikaburu

  • Dublin, Ireland
View GitHub Profile
@nikaburu
nikaburu / dotnetlayout.md
Created October 27, 2019 14:13 — forked from davidfowl/dotnetlayout.md
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
@nikaburu
nikaburu / Generic builder with extensions
Created September 4, 2017 08:59 — forked from jand187/Generic builder with extensions
Generic builder with extensions
public class GenericBuilder<TEntity> where TEntity : new()
{
private readonly List<Func<TEntity, object>> setters;
public GenericBuilder()
{
setters = new List<Func<TEntity, object>>();
}
public GenericBuilder<TEntity> With(params Func<TEntity, object>[] props)