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

IMethodInfo Members

IMethodInfo overview

Public Instance Properties

Block Gets statements block of the method.
IsConstructor Gets true if the method is a constructor.
IsDestructor Gets true if method is a destructor.
IsGenericMethodDefinition Gets a value that indicates whether the method represents the definition of a generic method.

Public Instance Methods

ChangeParametersList Provides a quick way to replace the method parameters with specified parameters.
CommentBody Comments out the body of the method.
GetConstants Gets constants that declared inside of the method.
GetParameters Returns parameters of the method.
GetVariables Gets variables that declared inside of the method.
InsertBaseMethodCall Inserts a base method call after the method declaration.
InsertCodeBlockAfterStatement Inserts a code block after the specified statement.
InsertCodeBlockAtOverloaded. Inserts a code block at the specified line and column.
InsertCodeBlockAtEnd Inserts a code block at the end of specified statement.
InsertCodeBlockAtStart Inserts a code block at the start of specified statement.
InsertCodeBlockBeforeStatement Inserts a code block before the specified statement.
MethodToProperty Converts a non-void method without parameters to a read-only property, and void method with exactly one parameter to write-only property.
RemoveParameterAt Removes a parameter from specified index.

See Also

IMethodInfo Interface | SubMain.CodeItRight.Sdk.Core.Reflection Namespace