Last active
May 31, 2016 12:08
-
-
Save xplicit/e3e3be8263623c96f7cf8f08c1ecbd0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
using ServiceStack; | |
using ServiceStack.Text; | |
var useUtc = JsConfig.AlwaysUseUtc; | |
TestClass t1 = new TestClass(){A=5, B="Hello"}; | |
t1.TC2 = new TestClass2(){A2="Hello from TestClass2", B2=10}; | |
for(int i=0;i<10;i++) | |
{ | |
t1.TC2.B2 += i; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<package id="ServiceStack" version="4.0.56" targetFramework="net45" /> | |
<package id="ServiceStack.Client" version="4.0.56" targetFramework="net45" /> | |
<package id="ServiceStack.Common" version="4.0.56" targetFramework="net45" /> | |
<package id="ServiceStack.Interfaces" version="4.0.56" targetFramework="net45" /> | |
<package id="ServiceStack.OrmLite" version="4.0.56" targetFramework="net45" /> | |
<package id="ServiceStack.Razor" version="4.0.56" targetFramework="net45" /> | |
<package id="ServiceStack.Redis" version="4.0.56" targetFramework="net45" /> | |
<package id="ServiceStack.Server" version="4.0.56" targetFramework="net45" /> | |
<package id="ServiceStack.Text" version="4.0.56" targetFramework="net45" /> | |
</packages> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestClass | |
{ | |
public int A { get; set; } | |
public string B { get; set; } | |
public TestClass2 TC2 { get; set; } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestClass2 | |
{ | |
public string A2 { get; set; } | |
public int B2 { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment