The IApiCop is responsible for containing all the rules that are used inside a class. A class should contain only one IApiCop and one or more rules.
Retrieving an IApiCop for a class
To retrieve an IApiCop for a class, use the following code:
private static readonly IApiCop = ApiCopManager.GetCurrentClassApiCop();
We would like to thank the following contributors:
Want to contribute to the documentation? We have a guide for that!
Have a question about Catel? Use StackOverflow with the Catel tag!