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