mirror of
https://github.com/AlexMacocian/WpfExtended.git
synced 2026-07-25 08:22:08 +00:00
21 lines
503 B
C#
21 lines
503 B
C#
namespace System.Extensions.Templates
|
|
{
|
|
internal sealed class UsingsTemplate : AbstractTemplate
|
|
{
|
|
public string Namespace { get; set; }
|
|
public UsingsTemplate WithNamespace(string n)
|
|
{
|
|
this.Namespace = n;
|
|
return this;
|
|
}
|
|
|
|
public override void Generate(CodeWriter codeWriter)
|
|
{
|
|
codeWriter
|
|
.Append("using ")
|
|
.Append(this.Namespace)
|
|
.Append(';');
|
|
}
|
|
}
|
|
}
|