コード例 #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())
 {
 }