예제 #1
0
파일: State.cs 프로젝트: CSharpDev/Dev.All
 /// <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;
 }
예제 #2
0
 /// <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;
 }
예제 #3
0
 public WindowTabHelper(ILocalState localState, ILocalSettingHandler settingHandler)
 {
     this._localState     = localState;
     this._settingHandler = settingHandler;
 }
예제 #4
0
 public Encodeutility(ILocalSettingHandler settingHandler, ILocalState localState, ILogger logger)
 {
     this.settingHandler = settingHandler;
     this.localState     = localState;
     this.logger         = logger;
 }
예제 #5
0
 public Logger(ILogStream logStream, IErrorHandler errorHandler, ILocalState localState)
 {
     this.logStream    = logStream;
     this.errorHandler = errorHandler;
     this.localState   = localState;
 }
예제 #6
0
 /// <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();
 }