Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code.​Advised

Namespace Metalama.Framework.Code.Advised

This namespace contains the representation of the declarations being currently adviced, and exposed on the meta API.

Interfaces

IAdvisedConstructor

Represents the constructor being overwritten or introduced. This interface extends IConstructor.

IAdvisedEvent

Represents the event being overwritten or introduced. This interface extends IEvent but overrides the AddMethod, RemoveMethod and RaiseMethod members to expose their Invoke(Object[]) method.

IAdvisedField

Represents the field being overwritten or introduced. This interface extends IField but introduces the Value property, which allows you to read or write the field.

IAdvisedFieldOrProperty

Represents the field or property being overwritten or introduced. This interface introduces the Value property, which allows you to read or write the field or property.

IAdvisedMethod

Represents the method being overwritten or introduced. This interface extends IMethod but introduces the Invoke(Object[]) method, which allows you to invoke the method. It also overrides the Parameters property to expose their Value property.

IAdvisedParameter

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.

IAdvisedParameterList

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

IAdvisedProperty

Represents the property being overwritten or introduced. This interface extends IProperty but introduces the Value property, which allows you to read or write the property.

IAdviseParameterValueList

Represents the list of method or property parameter values.