/// <summary> /// Initializes a new instance of the <see cref="YafUserIgnored"/> class. /// </summary> /// <param name="sessionStateBase"> /// The session state base. /// </param> /// <param name="dbBroker"> /// The db broker. /// </param> public YafUserIgnored([NotNull] HttpSessionStateBase sessionStateBase, [NotNull] IDBBroker dbBroker) { this.SessionStateBase = sessionStateBase; this._dbBroker = dbBroker; }
/// <summary> /// Initializes a new instance of the <see cref="YafBuddy"/> class. /// </summary> /// <param name="serviceLocator"> /// The service locator. /// </param> /// <param name="dbBroker"> /// The db broker. /// </param> public YafBuddy([NotNull] IServiceLocator serviceLocator, [NotNull] IDBBroker dbBroker) { this.ServiceLocator = serviceLocator; this._dbBroker = dbBroker; }