* SessionStateModule.cs: If using cookieless sessions add an
[mono.git] / mcs / class / System.Web / System.Web.UI / WebResourceAttribute.cs
1 //
2 // System.Web.UI.WebResourceAttribute
3 //
4 // Authors:
5 //      Ben Maurer (bmaurer@users.sourceforge.net)
6 //
7 // (C) 2003 Ben Maurer
8 //
9 #if NET_1_2
10 namespace System.Web.UI {
11         public sealed class WebResourceAttribute : Attribute {
12                 public WebResourceAttribute (string webResource, string contentType) : this (webResource, contentType, false) {}
13                 public WebResourceAttribute (string webResource, string contentType, bool performSubstitution)
14                 {
15                         this.webResource = webResource;
16                         this.contentType = contentType;
17                         this.performSubstitution = performSubstitution;
18                 }
19                 
20                 public string ContentType { get { return contentType; } }
21                 public bool PerformSubstitution { get { return performSubstitution; } }
22                 public string WebResource { get { return webResource; } }
23                 
24                 bool performSubstitution;
25                 string webResource, contentType;
26         }
27 }
28 #endif