The PostSharp.Aspects namespace provides the primitives of the PostSharp aspect-oriented framework, such as abstract aspect classes, aspect interfaces, and advise argument classes.
Base class for arguments of all advices.
Encapsulation of method arguments.
Base class for all aspects that are declared using multicast custom attributes (MulticastAttribute).
Custom attribute that, when applied to an aspect class, specifies a human-readable description of the aspect that can be displayed in PostSharp Tools for Visual Studio.
Reserved for future usage.
Utility methods for PostSharp.Aspects.
Base class for all aspects applied on assemblies.
Aspect that, when applied on a type, introduces one or many new interfaces into that type.
Aspect that, when applied to a target, adds a custom attribute to this target.
Arguments of handlers of aspects of the type EventInterceptionAspect.
Base class for all aspects applied on events.
Base class for all aspects applied on fields.
Base class for aspects applied on types, but having the same lifetime as instances of the type to which they are applied.
Custom attribute that, when applied to an aspect class, specifies how many manual lines of code are avoided every time the aspect is being used.
Extension methods for the ILocationBinding interface.
Arguments of advices of aspect type LocationInterceptionAspect.
Base class for aspects defined in fields, properties, or parameters.
Aspect that, when applied to an assembly, adds a custom attribute to this assembly.
Aspect that, when applied on an abstract or extern method, creates an implementation for this method.
Arguments of advices of aspect type MethodInterceptionAspect.
Aspect that, when applied on a method, intercepts invocations of this method.
Base class for all aspects applied on methods.
Custom attribute that, when added to a static method, causes the method to be executed immediately after the assembly is loaded by the CLR. The target method must be public, parameterless, void, and non-generic.
Aspect that, when applied to a method, defines an exception handler around the whole method and calls a custom method in this exception handler.
Aspect that, when applied to a method defined in the current assembly, inserts a piece of code before and after the body of these methods.
Wraps a Type or a type name.
Base class for all aspects applied on types.
Identifier of an asynchronous method invocation, i.e. of a unique async state machine instance.
System type used in the implementation of the OnInstanceConstructedAdvice. Do not use in user code.
Represents the awaitable result of the asynchronous method invocation. Await this value to get the System.Object instance containing the return value of the async method. The result of the await is null for async methods that do not return any value.
Represents the awaiter for the result of the asynchronous method invocation.
Represents the asynchronous proceed operation that calls the next node in the chain of invocation.
Represents the awaiter for the completion of the asynchronous proceed operation.
Base interface for run-time semantics of all aspects.
Compile-time semantics of IAspect.
Represents an instance of an aspect applied to a declaration.
Interface that, when implemented by an aspect class, allows aspect instances to provide other aspects to the weaver.
Runtime semantics of aspects applied at assembly level.
Build-time semantics of aspects applied at assembly level.
Interface through which a method-level aspect or advice can asynchronously invoke the next node in the chain of invocation.
Runtime semantics of an aspect that, when applied on a method, intercepts invocations of this method. Includes semantics for both async and non-async method interception.
Defines the semantics of aspects that require to be notified after a target object is cloned using MemberwiseClone().
Defines the semantics of an aspect that, when applied on a type, introduce one or many new interfaces into that type, and let these interfaces be implemented by an object created at runtime.
Semantics of an aspect that, when applied to a target, adds a custom attribute to this target.
Interface through which an event-level aspect or advice can invoke the next node in the chain of invocation.
Runtime semantics of aspects that can be applied on events.
Build-time semantics of aspects that can be applied on events.
Run-time semantics of aspects applied to fields.
Compile-time semantics of IFieldLevelAspect.
Runtime semantics of aspects that have the same lifetime as instance of types to which their are applied (or instance of the declaring type of members to which they are applied).
Interface through which a field- or property-level aspect or advice can invoke the next node in the chain of invocation.
A strongly-typed variant for ILocationBinding.
Exposes an Execute<TValue>(ILocationBinding<TValue>, TPayload) method invoked by the Execute<TPayload>(ILocationBindingAction<TPayload>, TPayload) method, which allows to execute strongly-typed operations and avoid boxing required by the weakly typed ILocationBinding interface.
An interface for LocationInterceptionArgs.
A strongly-typed specialization of the ILocationInterceptionArgs interface.
Exposes an Execute<TValue>(ILocationInterceptionArgs<TValue>, TPayload) method invoked by the Execute<TPayload>(ILocationInterceptionArgsAction<TPayload>, TPayload) method, which allows to execute strongly-typed operations and avoid boxing required by the weakly typed ILocationInterceptionArgs interface.
Runtime semantics of aspects defined on a field, property, or parameter.
Compile-time semantics of ILocationLevelAspect.
Ancestor of ILocationValidationAspect<T>.
Runtime semantics of an aspect that, when applied on a location (field, property, or parameter), validates the value assigned to this location using method ValidateValue(T, String, LocationKind, LocationValidationContext), and throws the exception returned by this method if any.
Semantics of an aspect that, when applied to an assembly, adds a managed resource to this assembly.
Interface through which a method-level aspect or advice can invoke the next node in the chain of invocation.
Runtime semantics of an aspect that, when applied on a method, intercepts invocations of this method.
Runtime semantics of aspects applied to methods.
Compile-time semantics of IMethodLevelAspect.
Runtime semantics of an aspect that, when applied on a method, defines an exception handler around the whole method body and let the implementation of this interface handle the exception.
Runtime semantics of OnMethodBoundaryAspect.
Extends the IOnMethodBoundaryAspect interface with two advises to be applied on state machines.
Run-time semantics of aspects applied to types.
Compile-time semantics of ITypeLevelAspect.
Enumerates the possible behaviors of the calling method after the calling method has returned.
Enumerates the possible contexts in which the location validation advices can be invoked.
Enumerates possible target methods for semantic advising.
Enumerates actions that can be taken when an aspect is applied to a target element that is not currently supported.