Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Eos: Aspect-oriented extension for C#
[go: Go Back, main page]

 

Eos


Home

People

Publications

Download

Documentation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Welcome to Eos at cs.virginia.edu

 

Reflective Information at the Join Point
There are a bunch of new interfaces available to extract the reflective information at the join point. In particular, the reflective special variable thisJoinPoint in the advice is now of type Eos.Runtime.IJoinPoint. The signatures at the join points are now available.
Eos.Runtime.IJoinpoint
The members of this new interface are described below:

This property: Returns the value of "this" at the join point. Returns null in the case of static join points

Target property: Returns the target of the join point. Returns null in cases where there is no target.

ReturnValue property: Returns the return value at the join point if it is a valid return value otherwise null.

Args property: Returns the list of arguments of the join points. Returns an array of length zero if there are no arguments.

Kind property: Returns the string representation of the join point kind.

Signature property: Returns the signature of the join point. Please see the interface Eos.Runtime.Signature.ISignature for more details.

StaticPart property: Returns the static representation at the join point. Please see Eos.Runtime.IStaticPart for more details.

Location property: Returns the Location of the join point. Please see Eos.Runtime.ISourceLocation for more details.

Eos.Runtime.ISourceLocation
Details of the static location of the join point

EnclosingType property: The System.Type representation of the type that encloses the join point

FileName property: The file name that contains the join point.

Line property: The line number at which the join point occurs.

Eos.Runtime.IStaticPart
The static part of the reflective information at a join point.

Signature property: The signature of the join point.

Location property: The source location of the join point.

Kind property: The string representation of the join point kind

Eos.Runtime.Signature.ISignature
Summary description for ISignature.

Name property: Name of the signature.

Modifiers property: Modifiers of this signature

DeclaringType property: Type of the enclosing class

DeclaringTypeName property: Name of the enclosing class

ToString method: Returns a string representation of this signature.

Eos.Runtime.Signature.ICatchClauseSignature
The signature for the handler join points. This signature extends the ISignature interface.

ParameterType property: Returns the type of the exception caught

ParameterName property: Returns the name of the exception caught.

Eos.Runtime.Signature.IConstructorSignature
The signature of a constructor. An object initialization join point returns this signature. This signature extends the ISignature interface.

ParameterTypes property: The list of the types of the parameters at the join point.

ParameterNames property: The list of the names of the parameters at the join point.

Eos.Runtime.Signature.IFieldSignature
Signature of a field. A field get, set and property get, set join points return this signature. This signature extends the ISignature interface.

FieldType property: The System.Type representation of the type of the field.

Eos.Runtime.Signature.IMethodSignature
Signature of the method. A call and an execution join point return this signature. This signature extends the ISignature interface.

ReturnType property: The return type of the method.

Copyright © 2005, Hridesh Rajan and Kevin Sullivan, All rights reserved.