Пример #1
0
 public SlugGenerator(SlugGeneratorOptions slugGeneratorOptions, ISlugStore slugStore, ISlugAlgorithm slugAlgorithm)
 {
     _slugStore            = slugStore;
     _slugAlgorithm        = slugAlgorithm;
     _slugGeneratorOptions = slugGeneratorOptions;
 }
Пример #2
0
 public SlugGenerator(SlugGeneratorOptions slugGeneratorOptions, ISlugStore slugStore)
     : this(slugGeneratorOptions, slugStore, new DefaultSlugAlgorithm())
 {
 }
Пример #3
0
 public SlugGenerator(SlugGeneratorOptions slugGeneratorOptions, ISlugAlgorithm slugAlgorithm)
     : this(slugGeneratorOptions, new InMemorySlugStore(), slugAlgorithm)
 {
 }
Пример #4
0
 public SlugGenerator(SlugGeneratorOptions slugGeneratorOptions)
     : this(slugGeneratorOptions, new InMemorySlugStore(), new DefaultSlugAlgorithm())
 {
 }