mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +00:00
26 lines
551 B
C#
26 lines
551 B
C#
#if SIMPLSHARP
|
|
using Crestron.SimplSharp.CrestronIO;
|
|
#else
|
|
using System.IO;
|
|
#endif
|
|
|
|
namespace ICD.Common.Utils.IO
|
|
{
|
|
public sealed class IcdStreamWriter : IcdTextWriter
|
|
{
|
|
public StreamWriter WrappedStreamWriter { get { return WrappedTextWriter as StreamWriter; } }
|
|
|
|
/// <summary>
|
|
/// Constructor.
|
|
/// </summary>
|
|
/// <param name="baseStreamWriter"></param>
|
|
public IcdStreamWriter(StreamWriter baseStreamWriter) : base(baseStreamWriter)
|
|
{
|
|
}
|
|
|
|
public void WriteLine(string value)
|
|
{
|
|
WrappedStreamWriter.WriteLine(value);
|
|
}
|
|
}
|
|
} |