public PresetParser(IUniqueUrlFolderPresetsConfiguration configuration)
 {
     _presetFolderExpression = new Regex(string.Format(PresetFolderExpressionFormat, configuration.BaseSegment), RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
 }
예제 #2
0
 public RewriteHelper(IUniqueUrlFolderPresetsConfiguration configuration, IContentHashHelper contentHashHelper, IPresetParser presetParser)
 {
     _configuration     = configuration;
     _contentHashHelper = contentHashHelper;
     _presetParser      = presetParser;
 }
예제 #3
0
 public CacheHelper(IUniqueUrlFolderPresetsConfiguration configuration)
 {
     _configuration = configuration;
 }
 public ResizeHelper(IUniqueUrlFolderPresetsConfiguration configuration, IPresetParser presetParser)
 {
     _configuration = configuration;
     _presetParser  = presetParser;
 }
예제 #5
0
 public ContentHashHelper(IUniqueUrlFolderPresetsConfiguration configuration)
 {
     _configuration = configuration;
 }