How to assert that a class has an inherited attribute, but excluding the parent class at the same ti

Posted by Pawel Krakowiak on Stack Overflow See other posts from Stack Overflow or by Pawel Krakowiak
Published on 2010-06-02T08:00:18Z Indexed on 2010/06/02 8:03 UTC
Read the original article Hit count: 312

Filed under:
|
|

I have two attributes - MigrationAttribute and TestDataMigrationAttribute : MigrationAttribute. How can I assert that a class has applied TestDataMigrationAttribute but not MigrationAttribute (which is the parent attribute class)?

© Stack Overflow or respective owner

Related posts about c#

Related posts about reflection