/// <summary> /// Initializes a new instance of the <see cref="FavoriteTopic"/> class. /// </summary> /// <param name="sessionState"> /// The session state. /// </param> /// <param name="serviceLocator"> /// The service locator. /// </param> /// <param name="treatCacheKey"> /// The treat cache key. /// </param> public FavoriteTopic( HttpSessionStateBase sessionState, IServiceLocator serviceLocator, ITreatCacheKey treatCacheKey) { this.SessionState = sessionState; this.ServiceLocator = serviceLocator; this.TreatCacheKey = treatCacheKey; }
/// <summary> /// Initializes a new instance of the <see cref="HttpRuntimeCache"></see> /// class. /// </summary> /// <param name="eventRaiser"> /// The event raiser. /// </param> /// <param name="haveLockObject"> /// The have lock object. /// </param> /// <param name="treatCacheKey"> /// The treat Cache Key. /// </param> public HttpRuntimeCache( [NotNull] IRaiseEvent eventRaiser, [NotNull] IHaveLockObject haveLockObject, [NotNull] ITreatCacheKey treatCacheKey) { CodeContracts.VerifyNotNull(eventRaiser, "eventRaiser"); CodeContracts.VerifyNotNull(haveLockObject, "haveLockObject"); this._eventRaiser = eventRaiser; this._haveLockObject = haveLockObject; this._treatCacheKey = treatCacheKey; }
/// <summary> /// Initializes a new instance of the <see cref="HttpRuntimeCache"></see> /// class. /// </summary> /// <param name="eventRaiser"> /// The event raiser. /// </param> /// <param name="haveLockObject"> /// The have lock object. /// </param> /// <param name="treatCacheKey"> /// The treat Cache Key. /// </param> public HttpRuntimeCache( [NotNull] IRaiseEvent eventRaiser, [NotNull] IHaveLockObject haveLockObject, [NotNull] ITreatCacheKey treatCacheKey) { CodeContracts.ArgumentNotNull(eventRaiser, "eventRaiser"); CodeContracts.ArgumentNotNull(haveLockObject, "haveLockObject"); this._eventRaiser = eventRaiser; this._haveLockObject = haveLockObject; this._treatCacheKey = treatCacheKey; }
/// <summary> /// Initializes a new instance of the <see cref="CurrentBoardSettings"/> class. /// </summary> /// <param name="injectServices"> /// The inject services. /// </param> /// <param name="haveBoardId"> /// The have board id. /// </param> /// <param name="treatCacheKey"> /// The treat Cache Key. /// </param> public CurrentBoardSettings( [NotNull] IInjectServices injectServices, [NotNull] IHaveBoardID haveBoardId, [NotNull] ITreatCacheKey treatCacheKey) { CodeContracts.VerifyNotNull(injectServices, "injectServices"); CodeContracts.VerifyNotNull(haveBoardId, "haveBoardId"); CodeContracts.VerifyNotNull(treatCacheKey, "treatCacheKey"); this.injectServices = injectServices; this.haveBoardId = haveBoardId; this.treatCacheKey = treatCacheKey; }
/// <summary> /// Initializes a new instance of the <see cref="CurrentBoardSettings"/> class. /// </summary> /// <param name="applicationStateBase"> /// The application state base. /// </param> /// <param name="injectServices"> /// The inject services. /// </param> /// <param name="haveBoardId"> /// The have board id. /// </param> /// <param name="treatCacheKey"> /// </param> /// <param name="boardRepository"> /// The board Repository. /// </param> public CurrentBoardSettings( [NotNull] HttpApplicationStateBase applicationStateBase, [NotNull] IInjectServices injectServices, [NotNull] IHaveBoardID haveBoardId, [NotNull] ITreatCacheKey treatCacheKey) { CodeContracts.VerifyNotNull(applicationStateBase, "applicationStateBase"); CodeContracts.VerifyNotNull(injectServices, "injectServices"); CodeContracts.VerifyNotNull(haveBoardId, "haveBoardId"); CodeContracts.VerifyNotNull(treatCacheKey, "treatCacheKey"); this._applicationStateBase = applicationStateBase; this._injectServices = injectServices; this._haveBoardId = haveBoardId; this._treatCacheKey = treatCacheKey; }
public YafFavoriteTopic(HttpSessionStateBase sessionState, IServiceLocator serviceLocator, ITreatCacheKey treatCacheKey) { SessionState = sessionState; ServiceLocator = serviceLocator; TreatCacheKey = treatCacheKey; }