private String GetCssQueryStringValue(XhtmlMobileTextWriter writer) { if (CssLocation == StyleSheetLocation.ApplicationCache) { // Initialize the cache key writer.SetCacheKey(Page.Cache); return(writer.CacheKey); } else if (CssLocation == StyleSheetLocation.SessionState) { writer.SetSessionKey(Page.Session); return(writer.SessionKey); } Debug.Assert(StyleSheetLocationAttributeValue != null); return(StyleSheetLocationAttributeValue); }
private String GetCssQueryStringValue(XhtmlMobileTextWriter writer) { if (CssLocation == StyleSheetLocation.ApplicationCache) { // Initialize the cache key writer.SetCacheKey(Page.Cache); return writer.CacheKey; } else if (CssLocation == StyleSheetLocation.SessionState) { writer.SetSessionKey(Page.Session); return writer.SessionKey; } Debug.Assert (StyleSheetLocationAttributeValue != null); return StyleSheetLocationAttributeValue; }