-
Best explained with example:
`var a = Smart.Format("{SomeKey}", new Dictionary() { { "SomeKey", 999 } });`
Output: "999"
`var b = Smart.Format("{Some.Key}", new Dictionary(){ { "Some.Key", 999 } } )…
DDtMM updated
6 years ago
-
This unit test fails from version 1.3.
```
[TestFixture]
class Tests
{
[TestCase(true, "yes (probably)")]
[TestCase(false, "no (possibly)")]
public void TestWithParens(bool value, string…
-
I'd really like to see a string builder version of SmartFormat!
Sure I can do something like
var builder = new StringBuilder();
builder.AppendLine("{Foo} {Bar}".FormatSmart(foobar))
But it would b…
-
I have a custom extension called "words" that can convert a number to text. So if I do {Age:words()} would get something like "twenty-seven" instead of 27. I would like to combine this with another ex…
rhyek updated
6 years ago
-
The application has a number of dependencies, some of which are now out-dated.
**Expected**: all dependencies are current
- [x] ConEmu (used by ConEmuWinForms project) #4427
- [x] RestSharp (u…
-
After upgrading to version 1.6.1, formatting the time with a colon no longer works:
```
class Program
{
class Example
{
public Example()
{
…
-
Smart.Format("{0:HH:mm:ss}", DateTime.Now) == "" instead of valid string with current time
-
Currently you accept any character into the {} string. So if we have code:
```
foreach (var key in collection)
{
//bla bla
}
```
If will destroy that block. At least make sure that there are no …
-
I need to format a string using 2 diferent sources like this:
Smart.Format(TEXT, Source1 (Class), Source 2 (Dictionary));
Your actual code processed only the first source, with this change i could …
-
There is problem with double ending braces parsing. E.g if I provide `Account {Type:choose(Days|Entries):days balance: {Value}|entries left: {Value} {Value:plural(en):entry|entries}|expiration date: {…
ghost updated
6 years ago