コード例 #1
0
 /// <summary>
 /// Creates a cookie state mechanism.
 /// </summary>
 public CookieState(IEngineContextLocator contextLocator, string cookieName, TimeSpan timeToLive, bool httpOnly, bool supportP3P)
     : base(contextLocator)
 {
     _cookieName = cookieName;
     _httpOnly   = httpOnly;
     _supportP3P = supportP3P;
     TimeToLive  = timeToLive;
 }
コード例 #2
0
 protected ContextAwareComponent(IEngineContextLocator contextLocator)
 {
     ContextLocator = contextLocator;
 }
コード例 #3
0
		/// <summary>
		/// Adds a locator strategy.
		/// </summary>
		/// <param name="strategy">The strategy.</param>
		public void AddLocatorStrategy(IEngineContextLocator strategy)
		{
			locatorStrategies.Add(strategy);
		}
コード例 #4
0
 public StateProvider(IEngineContextLocator contextLocator)
     : base(contextLocator)
 {
 }
コード例 #5
0
 public ContextItemStateWrapper(IEngineContextLocator contextLocator, string key, IState <T> underlyingState)
     : base(contextLocator)
 {
     _key        = key;
     _underlying = underlyingState;
 }
コード例 #6
0
 public StateProvider(IEngineContextLocator contextLocator)
     : base(contextLocator)
 {
 }
コード例 #7
0
 protected ContextAwareComponent(IEngineContextLocator contextLocator)
 {
     ContextLocator = contextLocator;
 }
コード例 #8
0
 /// <summary>
 /// Adds a locator strategy.
 /// </summary>
 /// <param name="strategy">The strategy.</param>
 public void AddLocatorStrategy(IEngineContextLocator strategy)
 {
     locatorStrategies.Add(strategy);
 }