/// <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); }
public StateProvider(IEngineContextLocator contextLocator) : base(contextLocator) { }
public ContextItemStateWrapper(IEngineContextLocator contextLocator, string key, IState <T> underlyingState) : base(contextLocator) { _key = key; _underlying = underlyingState; }