Project "Caravela" 0.1 / / Caravela Documentation / API Documentation / Caravela.​Framework.​Aspects

Namespace Caravela.Framework.Aspects

Classes

OverrideMethodAspect

A base aspect that overrides the implementation of a method.

TemplateAttribute

The base class for all custom attributes that mark a declaration as a template.

TemplateContext

Exposes the meta-model and the meta-functions to a template method. It is recommended to import this type using using static.

TestTemplateAttribute

Can be used by the tests when they want to bypassing the aspect framework.

Interfaces

IAdviceFactory

Exposes all factory methods to create advices.

IAdviceParameter

Represents a parameter in the method being overridden by the advice. This interface augments IParameter with a Value property, which allows to get or set the run-time value.

IAdviceParameterList

Represents the list of parameters of the method being overridden by the advice. The IAdviceParameter interface augments IParameter with a Value property, which allows to get or set the run-time value.

IAspect

The base interface for all aspects. A class should not implement this interface, but the strongly-typed variant IAspect<T>.

IAspect<T>

The base interface for all aspects, with the type parameter indicating to which types of declarations the aspect can be added.

IAspectBuilder

An object by the Initialize(IAspectBuilder<T>) method of the aspect to provide advices and child aspects. This is a weakly-typed variant of the IAspectBuilder<T> interface.

IAspectBuilder<T>

An object by the Initialize(IAspectBuilder<T>) method of the aspect to provide advices and child aspects. This is the strongly-typed variant of the IAspectBuilder interface.

IExposeRuntimeValue

Something (like a parameter or a local variable) that has a value that can be read or assigned at run time.

ITemplateContext

Exposes information about the element of code to which a template was applied. This interface is exposed by the target member.