Craig's Utility Library  4.0 Beta
Utilities.DataTypes.AOP.Interfaces.IAspect Interface Reference

Aspect interface More...

Inheritance diagram for Utilities.DataTypes.AOP.Interfaces.IAspect:
Utilities.ORM.Aspect.ORMAspect

Public Member Functions

void Setup (object Object)
 Used to hook into the object once it has been created More...
 
string SetupDefaultConstructor (Type BaseType)
 Used to insert code into the default constructor More...
 
string SetupEndMethod (MethodInfo Method, Type BaseType, string ReturnValueName)
 Used to insert code at the end of the method More...
 
string SetupExceptionMethod (MethodInfo Method, Type BaseType)
 Used to insert code within the catch portion of the try/catch portion of the method More...
 
string SetupInterfaces (Type Type)
 Used to set up any interfaces, extra fields, methods, etc. prior to overridding any methods. More...
 
string SetupStartMethod (MethodInfo Method, Type BaseType)
 Used to insert code at the beginning of the method More...
 

Properties

ICollection< Assembly > AssembliesUsing [get]
 Set of assemblies that the aspect requires More...
 
ICollection< Type > InterfacesUsing [get]
 List of interfaces that need to be injected by this aspect More...
 
ICollection< string > Usings [get]
 Using statements that the aspect requires More...
 

Detailed Description

Aspect interface

Definition at line 31 of file IAspect.cs.

Member Function Documentation

void Utilities.DataTypes.AOP.Interfaces.IAspect.Setup ( object  Object)

Used to hook into the object once it has been created

Parameters
ObjectObject created by the system

Implemented in Utilities.ORM.Aspect.ORMAspect.

string Utilities.DataTypes.AOP.Interfaces.IAspect.SetupDefaultConstructor ( Type  BaseType)

Used to insert code into the default constructor

Parameters
BaseTypeBase type
Returns
The code to insert

Implemented in Utilities.ORM.Aspect.ORMAspect.

string Utilities.DataTypes.AOP.Interfaces.IAspect.SetupEndMethod ( MethodInfo  Method,
Type  BaseType,
string  ReturnValueName 
)

Used to insert code at the end of the method

Parameters
MethodOverridding Method
BaseTypeBase type
ReturnValueNameLocal holder for the value returned by the function
Returns
The code to insert

Implemented in Utilities.ORM.Aspect.ORMAspect.

string Utilities.DataTypes.AOP.Interfaces.IAspect.SetupExceptionMethod ( MethodInfo  Method,
Type  BaseType 
)

Used to insert code within the catch portion of the try/catch portion of the method

Parameters
MethodOverridding Method
BaseTypeBase type
Returns
The code to insert

Implemented in Utilities.ORM.Aspect.ORMAspect.

string Utilities.DataTypes.AOP.Interfaces.IAspect.SetupInterfaces ( Type  Type)

Used to set up any interfaces, extra fields, methods, etc. prior to overridding any methods.

Parameters
TypeType of the object
Returns
The code to insert

Implemented in Utilities.ORM.Aspect.ORMAspect.

string Utilities.DataTypes.AOP.Interfaces.IAspect.SetupStartMethod ( MethodInfo  Method,
Type  BaseType 
)

Used to insert code at the beginning of the method

Parameters
MethodOverridding Method
BaseTypeBase type
Returns
The code to insert

Implemented in Utilities.ORM.Aspect.ORMAspect.

Property Documentation

ICollection<Assembly> Utilities.DataTypes.AOP.Interfaces.IAspect.AssembliesUsing
get

Set of assemblies that the aspect requires

Definition at line 36 of file IAspect.cs.

ICollection<Type> Utilities.DataTypes.AOP.Interfaces.IAspect.InterfacesUsing
get

List of interfaces that need to be injected by this aspect

Definition at line 41 of file IAspect.cs.

ICollection<string> Utilities.DataTypes.AOP.Interfaces.IAspect.Usings
get

Using statements that the aspect requires

Definition at line 46 of file IAspect.cs.


The documentation for this interface was generated from the following file: