Browse by Tags
All Tags » rules » SDK
-
Here is the Check method for the custom rule that should get you started:
public override bool Check(IElementInfo element)
{
IMethodInfo methodInfo = element as IMethodInfo;
if (methodInfo != null)
{
IMethod method = CodeElementFactory.GetMethod(methodInfo);
if (method != null)
{
ExpressionCollection ...
-
You already know how you can create new custom rules using CodeIt.Right SDK, of not, you may want to read this article first.
In this tutorial we will show how to extend existing rules using the new SDK features introduced in CodeIt.Right v1.8.09300. The new technique is to derive the custom rule from a base rule and override only the methods ...
-
Revised and amended February 20, 2014
CodeIt.Right ships with a wide range of rule libraries included, but the great thing is that you are not limited to just those. You can extend the range by doing any or all of the following: Customize your own rule instances using the Profile Editor (link to Rules and Instances) Override ...
|
|