Open sandboxFocus

Interface ILocationInterceptionArgs

An interface for LocationInterceptionArgs.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public interface ILocationInterceptionArgs
Remarks

This interface is generally not used directly. It serves as a base for the strongly typed ILocationInterceptionArgs<T>, which is used by Execute<TPayload>(ILocationInterceptionArgsAction<TPayload>, ref TPayload).

Properties

Name Description
Binding

Gets an interface that allows invoking the next node in the chain of invocation of the intercepted method.

Index

Gets the current index arguments, for a property with parameters.

Instance

Gets or sets the object instance on which the method is being executed.

Location

See PostSharp.Aspects.Internals.LocationLevelAdviceArgs.Location.

LocationFullName

See PostSharp.Aspects.Internals.LocationLevelAdviceArgs.LocationFullName.

LocationName

See PostSharp.Aspects.Internals.LocationLevelAdviceArgs.LocationName.

Value

See PostSharp.Aspects.Internals.LocationLevelAdviceArgs.Value.

Methods

Name Description
Execute<TPayload>(ILocationInterceptionArgsAction<TPayload>, ref TPayload)

Executes a delegate for the current LocationInterceptionArgs. This method allows executing strongly typed operations and avoids the boxing required by the weakly typed ILocationInterceptionArgs interface.

GetCurrentValue()

Retrieves the current value of the location without overwriting the PostSharp.Aspects.Internals.LocationLevelAdviceArgs.Value property.

ProceedGetValue()

Invokes the Get Location Value semantic on the next node in the chain of invocation and stores the location value in the PostSharp.Aspects.Internals.LocationLevelAdviceArgs.Value property.

ProceedSetValue()

Invokes the Set Location Value semantic on the next node in the chain of invocation and stores the value of the PostSharp.Aspects.Internals.LocationLevelAdviceArgs.Value property into the location.

SetNewValue(object)

Sets the value of the location without overwriting the PostSharp.Aspects.Internals.LocationLevelAdviceArgs.Value property.