I\'m missing a trick here I think and can\'t believe I\'ve never done this before. However, how can I cast a generic type using the as keyword?
[Serializable] pu
Read up on Constraints on Type Parameters in C#.
In this particular case, you must ensure that T is a class:
public abstract class SessionManager where T : class, ISessionManager