Ejemplo n.º 1
0
 public ActionCooldownFilterImpl(IOptionsCache _optionsCache, IModelMetadataProvider _modelMetadataProvider, IActionCooldownService _actionCooldownService, ActionCooldownType actionCooldownType)
 {
     this._optionsCache          = _optionsCache;
     this._modelMetadataProvider = _modelMetadataProvider;
     this._actionCooldownService = _actionCooldownService;
     this._actionCooldownType    = actionCooldownType;
 }
Ejemplo n.º 2
0
 public ContentController(IContentManagerService cms, ICommentManagerService coms, IPageCache pageCache, IOptionsCache optionsCache
                          , IActionCooldownService _actioncd)
 {
     this.cms          = cms;
     this.coms         = coms;
     this.pageCache    = pageCache;
     this.optionsCache = optionsCache;
     this._actioncd    = _actioncd;
 }