Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


inject

Member Since 14 Nov 2012
Offline Last Active Aug 29 2014 09:45 AM

Posts I've Made

In Topic: class instance always null

14 November 2012 - 08:25 AM

Ok, seems like i solved it by moving List<Token> initialization to TokenOwner class. Thanks.

In Topic: class instance always null

14 November 2012 - 08:02 AM

Oh, seems like it slipped out, sorry about that.
class Token : TokenOwner
		{
				public string Name { get; set; }
				public double Value { get; set; }
			  
				public Token()
				{
				Tokens = new List<Token>();
				}
		}
And of course, Token class is inherited from TokenOwner.

PARTNERS