コード例 #1
0
 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);
 }
コード例 #2
0
 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;        
 }