Skip to content

Instantly share code, notes, and snippets.

react 🤘

Iman Mahmoudinasab ImanMahmoudinasab

react 🤘
  • Yocale
  • Canada, Vancouver
View GitHub Profile
staltz /
Last active Mar 5, 2021
The introduction to Reactive Programming you've been missing
View gist:1041639
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTNX.DNS.DataAccess.Repositories
public class RepositoryBase<T> where T : ModelBase
public RepositoryBase()
View InMemoryDbSet.cs
public class InMemoryDbSet<T> : IDbSet<T> where T : class
readonly HashSet<T> _set;
readonly IQueryable<T> _queryableSet;
public InMemoryDbSet() : this(Enumerable.Empty<T>()) { }
public InMemoryDbSet(IEnumerable<T> entities) {