I'm using ServiceStack(4.0.46.0) and would like to add fields to ServiceStack.AuthUserSession
. Creating a new class using Inheritance is a solution but I want the new class to still be of type ServiceStack.AuthUserSession
For example
Public Class MyUserSession : ServiceStack.AuthUserSession
{
Public string NewFieldOne {get; set;}
Public string NewFieldTwo {get; set;}
}
....but MyUserSession would still be of type ServiceStack.AuthUserSession.
Is that possible? This is on Framework 4.5.