示例#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())
 {
 }