U4-8199 - Remove the obsolete EncodedStringWriter.cs
No references, clean build - looks safe to remove http://issues.umbraco.org/issue/U4-8199
This commit is contained in:
@@ -1704,7 +1704,6 @@
|
||||
</Compile>
|
||||
<Compile Include="WebServices\XmlDataIntegrityController.cs" />
|
||||
<Compile Include="WebViewPageExtensions.cs" />
|
||||
<Compile Include="_Legacy\Utils\EncodedStringWriter.cs" />
|
||||
<Compile Include="_Legacy\Utils\JSONSerializer.cs" />
|
||||
<None Include="..\Umbraco.Web.UI\Views\web.config">
|
||||
<Link>Mvc\web.config</Link>
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace Umbraco.Web._Legacy.Utils
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// A TextWriter class based on the StringWriter that can support any encoding, not just UTF-16
|
||||
/// as is the default of the normal StringWriter class
|
||||
/// </summary>
|
||||
[Obsolete("Remove this for v8")]
|
||||
internal class EncodedStringWriter : StringWriter
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="EncodedStringWriter"/> class.
|
||||
/// </summary>
|
||||
/// <param name="sb">The sb.</param>
|
||||
/// <param name="enc">The enc.</param>
|
||||
public EncodedStringWriter(StringBuilder sb, Encoding enc)
|
||||
: base(sb)
|
||||
{
|
||||
m_encoding = enc;
|
||||
}
|
||||
|
||||
private Encoding m_encoding;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the <see cref="T:System.Text.Encoding"></see> in which the output is written.
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
/// <returns>The Encoding in which the output is written.</returns>
|
||||
public override Encoding Encoding
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_encoding;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user