Update README.md

This commit is contained in:
Travis Parks 2013-05-03 09:35:04 -03:00
parent f07a80d5a1
commit 50a80f42ad
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ Each format item takes the following form and consists of the following componen
The matching braces are required. Notice that they are double curly braces! The alignment and the format strings are optional and match the syntax accepted by `String.Format`. Refer to [String.Format](http://msdn.microsoft.com/en-us/library/system.string.format.aspx)'s documentation to learn more about the standard and custom format strings. The matching braces are required. Notice that they are double curly braces! The alignment and the format strings are optional and match the syntax accepted by `String.Format`. Refer to [String.Format](http://msdn.microsoft.com/en-us/library/system.string.format.aspx)'s documentation to learn more about the standard and custom format strings.
### Placeholder Scope ### Placeholder Scope
The indentifier is used to find a property with a matching name. If you want to print out the object itself, you can use the special identifier `this`. The identifier is used to find a property with a matching name. If you want to print out the object itself, you can use the special identifier `this`.
FormatCompiler compiler = new FormatCompiler(); FormatCompiler compiler = new FormatCompiler();
Generator generator = compiler.Compiler("Hello, {{this}}!!!"); Generator generator = compiler.Compiler("Hello, {{this}}!!!");