Questions? Email Us or Call 1 (800) 936-2134

CodeIt.Right SDK Documentation

(This content is also available offline in your local CodeIt.Right help file.)

SubMain.CodeItRight.Sdk.Core.Rules

Interfaces
IRule - Base interface for Custom Rules
Enumerations
ActiveStatus, RuleScopes, RuleTargets, SeverityLevel

SubMain.CodeItRight.Sdk.Core.Reflection

Interfaces
IAnonymousMethodInfo, IAssemblyInfo, IAttributeInfo, IAttributeSectionInfo, IBlockInfo, IClassInfo, ICodeElementInfo, ICodeRegionInfo, IConstantInfo, IDelegateInfo, IElementInfo, IEnumInfo, IEnumMemberInfo, IEventInfo, IExpressionInfo, IFieldInfo, IIdentifierInfo, IIndexerInfo, IInterfaceInfo, ILiteralInfo, ILocalConstantInfo, ILocalVariableInfo, IMemberInfo, IMethodInfo, IModuleInfo, INamespaceDeclarationInfo, INamespaceInfo, IOperatorInfo, IParameterInfo, IProjectFileInfo, IProjectInfo, IPropertyBaseInfo, IPropertyInfo, IRegionInfo, IReturnTypeInfo, IScope, ISolutionInfo, IStatementInfo, IStructInfo, ITypeInfo, ITypeMembersInfo, IVariableInfo, IVisualStudioInfo
Enumerations
ClassInfoType, MemberInfoModifiers, OutputTypeInfo, ProjectInfoLanguage

SubMain.CodeItRight.Sdk.Core.Collections

Classes
RulesCollection

SubMain.CodeItRight.Sdk.Rules

Classes
AbstractRuleBase, NamingRuleBase, RuleBase, SpellingRuleBase, SubMainRuleBase

SubMain.CodeItRight.Sdk.Utils

Provides SDK helper methods to be used when developing custom rules, naming and usage rules.

RuleUtilities - Methods:
GetAttribute, GetBaseTypeMembers, GetMethodBaseParameters, GetMethodStatements, GetTypeInfoByFullName, GetTypesFromNamespace, HasAttribute, HasCorrectDisposeMethodImplementation, HasCorrectFinalizeImplementation, HasUnmanagedTypeFields, IsAnyTypeDerivedFromType, IsAspProject, IsEventHandler, IsFieldUsedOutsideParentType, IsMemberOverride, IsMethodContainsFieldAssignmentExpression, IsMultipleFieldsDeclaration, IsNonPublicField, IsReimplementsInterface, IsTypeComVisible, IsTypeUsedOutsideParentType, IsUnmanagedType
NamingRuleUtilities - Methods:
FixForUniqueName, GetCamelCased, GetPascalCased, HasPrefix, HasSuffix, IsCamelCased, IsConflictWithKeywords, IsPascalCased, IsTypeConflictsWithNamespace, IsTypeConflictsWithSystemNamespace, IsUpperCased
UsageRulesUtils - Methods:
CanOverrideDisposeBool, FindDestructor, FindDisposeBoolField, FindDisposeBoolMethod, FindDisposeMethod, FindFinalizeMethod, FindGetObjectDataMethod, GetBaseClassDestructor, GetBaseClassFinalizeMethod, GetBaseClassParameterlessConstructor, GetDeserializationConstructor, GetFinalizer, GetMemberStatements, GetSerializableFields, HasBaseClassDisposeBoolField, HasBaseClassDisposeBoolMethod, IsDisposeBoolField, IsDisposeBoolMethod, IsDisposeMethod, IsFinalizeMethod, IsReturnTypeEqualsSpecifiedType, MethodContainsBaseTypeMethodInvocation, MethodContainsFieldMethodInvocation, MethodContainsMethodInvocation
RuleUtilities - Methods:
GetAttribute, GetBaseTypeMembers, GetMethodBaseParameters, GetMethodStatements, GetTypeInfoByFullName, GetTypesFromNamespace, HasAttribute, HasCorrectDisposeMethodImplementation, HasCorrectFinalizeImplementation, HasUnmanagedTypeFields, IsAnyTypeDerivedFromType, IsAspProject, IsEventHandler, IsFieldUsedOutsideParentType, IsMemberOverride, IsMethodContainsFieldAssignmentExpression, IsMultipleFieldsDeclaration, IsNonPublicField, IsReimplementsInterface, IsTypeComVisible, IsTypeUsedOutsideParentType, IsUnmanagedType
SecurityRuleUtilities - Methods:
GetSecurityAttributes, HasStrongName
GuiManagerUtils - Methods:
ShowRenameDialog, ShowRenameExceptionTypeDialog