Jump to content

  • Log In with Google      Sign In   
  • Create Account

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