public ActionCooldownFilterImpl(IOptionsCache _optionsCache, IModelMetadataProvider _modelMetadataProvider, IActionCooldownService _actionCooldownService, ActionCooldownType actionCooldownType) { this._optionsCache = _optionsCache; this._modelMetadataProvider = _modelMetadataProvider; this._actionCooldownService = _actionCooldownService; this._actionCooldownType = actionCooldownType; }
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; }