protected UrlShortenerOperationalStoreAbstract(
     IUrlShortenerAlgorithm urlShortenerAlgorithm,
     ISimpleItemDbContext <T> simpleItemDbContext)
 {
     _urlShortenerAlgorithm = urlShortenerAlgorithm;
     _simpleItemDbContext   = simpleItemDbContext;
 }
 public ExpiredInMemoryUrlShortenerOperationalStore(IUrlShortenerAlgorithm urlShortenerAlgorithm) :
     base(urlShortenerAlgorithm)
 {
 }
示例#3
0
 public UrlShortenerOperationalStore(
     IUrlShortenerAlgorithm urlShortenerAlgorithm,
     ISimpleItemDbContext <ShortUrlCosmosDocument> simpleItemDbContext) :
     base(urlShortenerAlgorithm, simpleItemDbContext)
 {
 }
 public InMemoryUrlShortenerOperationalStoreBase(IUrlShortenerAlgorithm urlShortenerAlgorithm)
 {
     _urlShortenerAlgorithm = urlShortenerAlgorithm;
     _database = new Dictionary <string, ShortUrl>();
 }