Skip to content

Commit f2b0042

Browse files
committed
version changes and readme changes
1 parent ac29472 commit f2b0042

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

ObjectSemantics.NET/ObjectSemantics.NET.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
<PackageIconUrl />
1313
<RepositoryUrl>https://github.com/swagfin/ObjectSemantics.NET</RepositoryUrl>
1414
<RepositoryType>Github</RepositoryType>
15-
<PackageReleaseNotes>v.5.1.5
15+
<PackageReleaseNotes>v.6.0.1
1616
Added support for if condition statements with ElseIf
17-
Optimized performance</PackageReleaseNotes>
18-
<AssemblyVersion>5.1.5.1</AssemblyVersion>
19-
<FileVersion>5.1.5.1</FileVersion>
20-
<Version>5.1.5</Version>
17+
Single Line ForLoop
18+
[BREAKING CHANGE]: forloop statement changes</PackageReleaseNotes>
19+
<AssemblyVersion>6.0.1.1</AssemblyVersion>
20+
<FileVersion>6.0.1.1</FileVersion>
21+
<Version>6.0.1</Version>
2122
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
2223
<ApplicationIcon></ApplicationIcon>
2324
<PackageReadmeFile>README.md</PackageReadmeFile>

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class Program
2929
StudentName = "George",
3030
Invoices = new List<Invoice>
3131
{
32-
new Invoice{ Id=2, RefNo="INV_002",Narration="Grade II Fees Invoice", Amount=2000, InvoiceDate=DateTime.Now.Date.AddDays(-1) },
33-
new Invoice{ Id=1, RefNo="INV_001",Narration="Grade I Fees Invoice", Amount=320, InvoiceDate=DateTime.Now.Date.AddDays(-2) }
32+
new Invoice{ Id=2, RefNo="INV_002",Narration="Grade II Fees Invoice", Amount=2000 },
33+
new Invoice{ Id=1, RefNo="INV_001",Narration="Grade I Fees Invoice", Amount=320 }
3434
}
3535
};
3636

@@ -39,9 +39,9 @@ class Program
3939
{
4040
FileContents = @"<h6>{{ StudentName:uppercase }} Invoices</h6>
4141
<ol>
42-
{{ for-each-start:invoices }}
42+
{{ #foreach(invoices) }}
4343
<li>Invoice No: {{ RefNo }} of {{ Narration }} amount {{ Amount:N0 }} </li>
44-
{{ for-each-end:invoices }}
44+
{{ #endforeach }}
4545
</ol>"
4646
};
4747

0 commit comments

Comments
 (0)