Esempio n. 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;
 }
 protected ContextAwareComponent(IEngineContextLocator contextLocator)
 {
     ContextLocator = contextLocator;
 }
		/// <summary>
		/// Adds a locator strategy.
		/// </summary>
		/// <param name="strategy">The strategy.</param>
		public void AddLocatorStrategy(IEngineContextLocator strategy)
		{
			locatorStrategies.Add(strategy);
		}
Esempio n. 4
0
 public StateProvider(IEngineContextLocator contextLocator)
     : base(contextLocator)
 {
 }
 public ContextItemStateWrapper(IEngineContextLocator contextLocator, string key, IState <T> underlyingState)
     : base(contextLocator)
 {
     _key        = key;
     _underlying = underlyingState;
 }
Esempio n. 6
0
 public StateProvider(IEngineContextLocator contextLocator)
     : base(contextLocator)
 {
 }
Esempio n. 7
0
 protected ContextAwareComponent(IEngineContextLocator contextLocator)
 {
     ContextLocator = contextLocator;
 }
Esempio n. 8
0
 /// <summary>
 /// Adds a locator strategy.
 /// </summary>
 /// <param name="strategy">The strategy.</param>
 public void AddLocatorStrategy(IEngineContextLocator strategy)
 {
     locatorStrategies.Add(strategy);
 }