public ForumRepository(LanLordzDataContext db, ICacheManager dataCache, ConfigurationRepository config, SecurityRepository security) { if (db == null) { throw new ArgumentNullException("db"); } if (dataCache == null) { throw new ArgumentNullException("dataCache"); } if (security == null) { throw new ArgumentNullException("security"); } if (config == null) { throw new ArgumentNullException("config"); } this.db = db; this.dataCache = dataCache; this.security = security; this.config = config; }
public PluginRepository(string pluginsDirectory, ICacheManager pluginCache, ConfigurationRepository config) { if (pluginCache == null) { throw new ArgumentNullException("pluginCache"); } if (config == null) { throw new ArgumentNullException("config"); } this.pluginCache = pluginCache; this.pluginsDirectory = pluginsDirectory; this.config = config; }
public SkinRepository(string skinsDirectory, ICacheManager skinCache, ConfigurationRepository config) { if (skinCache == null) { throw new ArgumentNullException("skinCache"); } if (config == null) { throw new ArgumentNullException("config"); } this.skinCache = skinCache; this.skinsDirectory = skinsDirectory; this.config = config; }
public PollRepository(LanLordzDataContext db, ICacheManager dataCache, ConfigurationRepository config) { if (db == null) { throw new ArgumentNullException("db"); } if (dataCache == null) { throw new ArgumentNullException("dataCache"); } if (config == null) { throw new ArgumentNullException("config"); } this.db = db; this.dataCache = dataCache; this.config = config; }