SubMain - CodeIt.Right The First Time!  
Home
Products
  CodeIt.Right
  CodeIt.Once for .NET
  PrettyCode.Print for .NET
  PrettyCode.Print
  SmartOutline for VS2005
  .NET Coding Guidelines
Download
Purchase
Support
Contact Us

CodeIt.Right SDK Class Library

RuleUtilities Members

RuleUtilities overview

Public Static Methods

GetAttribute Returns an attrbute for the specified code element.
GetBaseTypeMembers Gets members from the base type.
GetMethodBaseParameters Returns an array of parameters of the base method.
GetMethodStatements Gets a collection of the statements from the method specified.
GetTypeInfoByFullName Returns type object by fully qualified name.
GetTypesFromNamespace Returns an array of types from specified namespace.
HasAttribute Returns True if specified code element has an attribute.
HasCorrectDisposeMethodImplementation Returns True if the dispose method has a correct implementation.
HasCorrectFinalizeImplementation Returns True if the Finalize method has a correct implementation.
HasUnmanagedTypeFields Returns True if the type contains unmanaged fields.
IsAnyTypeDerivedFromType Returns True if any type derives from the specified type.
IsAspProject Returns True if specified project is ASP.NET project.
IsEventHandler Returns True if specified code element is an event handler.
IsFieldUsedOutsideParentType Returns True if the field is used outside of the parent type.
IsMemberOverride Returns True if specified code element overrides another member.
IsMethodContainsFieldAssignmentExpression Returns True if the method contains assignment expression for specified field.
IsMultipleFieldsDeclaration Returns True if the field declaration statement declares more than one field.
IsNonPublicField Returns True if specified field is not public.
IsReimplementsInterface Returns True if the type re-implements specified interface.
IsTypeComVisible Returns True if specified type is Com visible.
IsTypeUsedOutsideParentType Returns True if the type is used outside in code.
IsUnmanagedType Returns True if the return type is unmanaged.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

RuleUtilities Class | SubMain.CodeItRight.Sdk.Utils Namespace