This article is not about specific domain but about how to check interface at runtime.
And proposed solution works if you don’t need polymorphism.
For example you have role reader that can only read and role writer with claims for what it can write.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This article is not about specific domain but about how to check interface at runtime.
And proposed solution works if you don’t need polymorphism.
For example you have role reader that can only read and role writer with claims for what it can write.