mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* System.Web.UI/*.cs * System.Web/*.cs -- Looks like I need to take control of this now. Build is otherwise failing svn path=/trunk/mcs/; revision=1627
40 lines
980 B
C#
40 lines
980 B
C#
//
|
|
// System.Web.UI.LiteralControl.cs
|
|
//
|
|
// Author:
|
|
// Bob Smith <[email protected]>
|
|
//
|
|
// (C) Bob Smith
|
|
//
|
|
|
|
using System;
|
|
using System.Web;
|
|
|
|
namespace System.Web.UI
|
|
{
|
|
public class LiteralControl : Control
|
|
{
|
|
private string _text = String.Empty;
|
|
public LiteralControl() {}
|
|
public LiteralControl(string text)
|
|
{
|
|
_text = text;
|
|
}
|
|
public virtual string Text
|
|
{
|
|
get
|
|
{
|
|
return _text;
|
|
}
|
|
set
|
|
{
|
|
_text = value;
|
|
}
|
|
}
|
|
protected override void Render(HtmlTextWriter writer)
|
|
{
|
|
writer.Write(_text);
|
|
}
|
|
}
|
|
}
|