mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
Renamed the `NET_1_2' conditional to `NET_2_0' in all files. svn path=/trunk/mcs/; revision=25877
28 lines
840 B
C#
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 |