typeof(IEmployee).IsAssignableFrom(typeof(T))
via c# – Check if ‘T’ inherits or implements a class/interface – Stack Overflow.
My bookmarks and blogposts regarding Software Development in .NET, C#, Angular, JavaScript, CSS, Html
typeof(IEmployee).IsAssignableFrom(typeof(T))
via c# – Check if ‘T’ inherits or implements a class/interface – Stack Overflow.