示例#1
0
 public DefaultController(IContentManagerService cms, IOptionsCache optionsCache, IMetasManagerService mms, ICache cache)
 {
     this.cms          = cms;
     this.optionsCache = optionsCache;
     this.mms          = mms;
     this.cache        = cache;
 }
示例#2
0
 public ThemeAttributeImpl(IOptionsCache optionsCache, IContentManagerService cms, IPageCache pageCache, IModelMetadataProvider _modelMetadataProvider)
 {
     this.optionsCache           = optionsCache;
     this.cms                    = cms;
     this.pageCache              = pageCache;
     this._modelMetadataProvider = _modelMetadataProvider;
 }
示例#3
0
 public ActionCooldownFilterImpl(IOptionsCache _optionsCache, IModelMetadataProvider _modelMetadataProvider, IActionCooldownService _actionCooldownService, ActionCooldownType actionCooldownType)
 {
     this._optionsCache          = _optionsCache;
     this._modelMetadataProvider = _modelMetadataProvider;
     this._actionCooldownService = _actionCooldownService;
     this._actionCooldownType    = actionCooldownType;
 }
示例#4
0
 public DefaultController(IUsersManagerService ums, IPageCache pageCache, IOptionsCache optionsCache, IContentManagerService cms, ICommentManagerService coms)
 {
     this.ums          = ums;
     this.pageCache    = pageCache;
     this.optionsCache = optionsCache;
     this.cms          = cms;
     this.coms         = coms;
 }
示例#5
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;
 }
示例#6
0
 //获得日志的实例
 //static Logger Logger = LogManager.GetCurrentClassLogger();
 public MessageWidgetImpl(
     IHostingEnvironment hostingEnvironment,
     IModelMetadataProvider modelMetadataProvider,
     IOptionsCache optionsCache)
 {
     _hostingEnvironment    = hostingEnvironment;
     _modelMetadataProvider = modelMetadataProvider;
     _optionsCache          = optionsCache;
 }
示例#7
0
 public TypeMapper(T t, PropertyAccessorStore store)
 {
     _store = store;
     _cache = new ObjectCache <IAccessor>();
 }
示例#8
0
            public MessageAttributeAttributeImpl(IOptionsCache optionsCache, IModelMetadataProvider _modelMetadataProvider)
            {
                this.optionsCache = optionsCache;

                this._modelMetadataProvider = _modelMetadataProvider;
            }
 public TypeStoreManager(IOptionsCache <Assembly> cache)
 {
     _names     = DependencyContext.Default.GetDefaultAssemblyNames();
     _cache     = cache;
     _typeCache = new Dictionary <Func <Type, bool>, Type>();
 }
示例#10
0
 public CommentsAPIController(ICommentManagerService coms, IOptionsCache optionsCache)
 {
     this.coms         = coms;
     this.optionsCache = optionsCache;
 }
 public PropertyAccessorStore()
 {
     _cache = new ObjectCache <IPropertyAccessor>();
 }
示例#12
0
 public CommentsItemViewComponent(IOptionsCache optionsCache, ICommentManagerService cms)
 {
     this.optionsCache = optionsCache;
     this.cms          = cms;
 }
示例#13
0
 public ActionCooldownService(ICache cache, IOptionsCache _optionsCache)
 {
     this._cache        = cache;
     this._optionsCache = _optionsCache;
 }
示例#14
0
 public OptionsController(IOptionsManagerService oms, IOptionsCache optionsCache)
 {
     this.oms          = oms;
     this.optionsCache = optionsCache;
 }