Files
mono/mcs/class/System.Web/System.Web.UI/WebResourceAttribute.cs
T
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00

28 lines
840 B
C#

//
// System.Web.UI.WebResourceAttribute
//
// Authors:
// Ben Maurer ([email protected])
//
// (C) 2003 Ben Maurer
//
#if NET_2_0
namespace System.Web.UI {
public sealed class WebResourceAttribute : Attribute {
public WebResourceAttribute (string webResource, string contentType) : this (webResource, contentType, false) {}
public WebResourceAttribute (string webResource, string contentType, bool performSubstitution)
{
this.webResource = webResource;
this.contentType = contentType;
this.performSubstitution = performSubstitution;
}
public string ContentType { get { return contentType; } }
public bool PerformSubstitution { get { return performSubstitution; } }
public string WebResource { get { return webResource; } }
bool performSubstitution;
string webResource, contentType;
}
}
#endif