/// <summary> /// Default Constructor. /// Creates a new instance of <see cref="IState"/> class. /// </summary> /// <param name="applicationState">An instance of <see cref="IApplicationState"/> that is used to store /// application state data.</param> /// <param name="localState">An instance of <see cref="ILocalState"/> that is used to store local /// state data.</param> /// <param name="sessionState">An instance of <see cref="ISessionState"/> that is used to store session /// state data.</param> /// <param name="cacheState">An instance of <see cref="ICacheState"/> that is used to store cache /// state data.</param> public State( IApplicationState applicationState, ILocalState localState, ISessionState sessionState, ICacheState cacheState) { _applicationState = applicationState; _localState = localState; _sessionState = sessionState; _cacheState = cacheState; }
public WindowTabHelper(ILocalState localState, ILocalSettingHandler settingHandler) { this._localState = localState; this._settingHandler = settingHandler; }
public Encodeutility(ILocalSettingHandler settingHandler, ILocalState localState, ILogger logger) { this.settingHandler = settingHandler; this.localState = localState; this.logger = logger; }
public Logger(ILogStream logStream, IErrorHandler errorHandler, ILocalState localState) { this.logStream = logStream; this.errorHandler = errorHandler; this.localState = localState; }
/// <summary> /// Default Constructor. /// Creates a new instance of the <see cref="LocalStateWrapper"/> class. /// </summary> /// <param name="selector">A <see cref="ILocalStateSelector"/> instance used by the wrapper /// to obtain the underlying <see cref="ILocalState"/> instance.</param> public LocalStateWrapper(ILocalStateSelector selector) { _state = selector.Get(); }