Browse Source

Added an implicit string operator conversion to the text generator.

pull/1/head
triton 13 years ago
parent
commit
8cbb2918c9
  1. 6
      src/Generator/Utils/TextGenerator.cs

6
src/Generator/Utils/TextGenerator.cs

@ -93,5 +93,11 @@ namespace Cxxi
{ {
return sb.ToString(); return sb.ToString();
} }
public static implicit operator string(TextGenerator tg)
{
return tg.ToString();
}
} }
} }

Loading…
Cancel
Save