﻿// Decompiled with JetBrains decompiler
// Type: System.Web.UI.WebControls.TextBoxControlBuilder
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.dll

using System.Runtime;
using System.Web.UI;

namespace System.Web.UI.WebControls
{
  /// <summary>
  /// Interacts with the parser to build a <see cref="T:System.Web.UI.WebControls.TextBox"/> control.
  /// </summary>
  public class TextBoxControlBuilder : ControlBuilder
  {
    /// <summary>
    /// Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.TextBoxControlBuilder"/> class.
    /// </summary>
    [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
    public TextBoxControlBuilder()
    {
    }

    /// <summary>
    /// Specifies whether white-space literals are allowed.
    /// </summary>
    /// 
    /// <returns>
    /// false in all cases.
    /// </returns>
    public override bool AllowWhitespaceLiterals()
    {
      return false;
    }

    /// <summary>
    /// Determines whether the literal string of the <see cref="T:System.Web.UI.WebControls.TextBox"/> control must be HTML decoded.
    /// </summary>
    /// 
    /// <returns>
    /// true in all cases.
    /// </returns>
    public override bool HtmlDecodeLiterals()
    {
      return true;
    }
  }
}
