Have a question? Email Us or Call 1 (800) 936-2134
SubMain - CodeIt.Right The First Time! Home Products Services Download Purchase Support Community
RuleTargets Enumeration
CodeIt.Right SDK Class Library

RuleTargets Enumeration

Defines possible targets the rule applies to.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Flags]
public enum RuleTargets

Remarks

Members

Member Name Description Value
None Indicates unknown target. 0
VS Indicates Visual Studio IDE as target. The Visual Studio IDE (Integrated Development Environment) is a set of tools that helps to write and modify the code for programs, and also detect and correct errors in programs. 1
Solution Indicates solution as target. A solution is a conceptual container implemented in Visual Studio. Solutions manage the way Visual Studio configures, builds, and deploys sets of related projects. A Visual Studio solution can include just one project or several projects built jointly by a development team. A complex application might require multiple solutions. 2
Project Indicates project as target. A project is a conceptual container implemented in Visual Studio. A project includes a set of source files, plus related metadata such as component references and build instructions. Projects generally produce one or more output files when built. 4
File Indicates file as target. Files are items that compose a project, such as forms, source files, and classes within a project. 8
Namespace Indicates namespace as target. A namespace is a logical naming scheme for grouping related types. The .NET Framework uses a hierarchical naming scheme for grouping types into logical categories of related functionality, such as the ASP.NET technology or remoting functionality. 16
Class Indicates class as target. A class is a construct that enables you to create your own custom types by grouping together variables of other types, methods and events. A class is like a blueprint. It defines the data and behavior of a type. If the class is not declared as static, client code can use it by creating objects or instances which are assigned to a variable. 32
Interface Indicates interface as target. An interface is a reference type that defines a contract. Other types implement an interface to guarantee that they support certain operations. The interface specifies the members that must be supplied by classes or other interfaces that implement it. Like classes, interfaces can contain methods, properties, indexers, and events as members. 64
Delegate Indicates delegate as target. A delegate is a class that can hold a reference to a method. Unlike other classes, a delegate class has a signature, and it can hold references only to methods that match its signature. A delegate is thus equivalent to a type-safe function pointer or a callback. 128
Struct Indicates struct as target. A struct is a user-defined value type. Like a class, structures can contain constructors, constants, fields, methods, properties, indexers, operators, and nested types. Unlike classes, however, structures do not support inheritance. 256
Enumeration Indicates enum as target. An enumeration type (also named an enumeration or an enum) provides an efficient way to define a set of named integral constants that may be assigned to a variable. 512
Module Indicates module as target. A module (Visual Basic .NET) is similar to a class but with some important distinctions. Every module has exactly one instance and does not need to be created or assigned to a variable. Modules do not support inheritance or implement interfaces. Notice that a module is not a type in the sense that a class or structure is - you cannot declare a programming element to have the data type of a module. 1024
Type Indicates type as target. Type in this enumeration is one of the following: Class, Interface, Struct, Delegate, Enumeration, Module 2016
Variable Indicates variable as target. A variable is an item of data named by an identifier. Each variable has a data type (which determines the kind of data that the variable can store), such as int or string, and a scope. 2048
LocalConstant Indicates local contant as target. Constants are fields or properties whose value is set at compile time and cannot be changed. The scope of a local constant is the block in which the declaration occurs. 4096
Method Indicates method as target. Methods define the actions that a class can perform. Methods can take parameters that provide input data, and can return output data through parameters. Methods can also return a value directly, without using a parameter. 8192
Operator Indicates operator as target. An operator is a term or a symbol that takes one or more expressions, called operands, as input and returns a value. Operators in an expression are evaluated in a specific order known as operator precedence. 16384
Event Indicates event as target. Events provide notifications about occurrences, such as button clicks or the successful completion of a method, to other objects. Events are defined and triggered by using delegates. 32768
Property Indicates property as target. Properties are methods on a class that are accessed as if they were fields on that class. A property can provide protection for a class field to keep it from being changed without the knowledge of the object. 65536
Indexer Indicates indexer as target. Indexers enable an object to be indexed in a manner similar to arrays. 131072
EnumerationItem Indicates enum member as target. An enum member is a named integral constant defined in the enumeration type. 262144
Parameter Indicates parameter as target. A parameter of a method (formal parameter) is a container which is used to transfer information to or from methods. There are four kinds of formal parameters: value parameters, reference parameters, output parameters and parameter arrays. 524288
Constant Indicates constant as target. Constants are fields or properties whose value is set at compile time and cannot be changed. 1048576
Field Indicates field as target. Fields are variables declared at class scope. A field may be a built-in numeric type or an instance of another class. For example, a calendar class may have a field that contains the current date. 2097152
Expression Indicates expression as target. An expression is a sequence of operators and operands. 4194304
CodeRegion Indicates code region as target. A code region is a single statement or a list of statements. 8388608
Comment Indicates comment as target. A comment is an information embedded in the source code of a computer program. Compiler ignores comments during source file processing. 16777216
Member Indicates member as target. Member in this enumeration is one of the following: Constant, Field, Event, Property, Indexer, Method, Operator or EnumerationItem 3661824

Requirements

Namespace: SubMain.CodeItRight.Sdk.Core.Rules

Assembly: SubMain.CodeItRight.Sdk.Core (in SubMain.CodeItRight.Sdk.Core.dll)

See Also

SubMain.CodeItRight.Sdk.Core.Rules Namespace


 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |