PostSharp.Extensibility Namespace |
Class | Description | |
---|---|---|
|
AssemblyIdAttribute |
Assigns a unique identifier to an assembly. This assembly identifier is used
to generate unique attribute identifiers.
|
|
CompatibilityLevelAttribute |
Sets the level of backward compatibility required by aspects in the current assembly.
|
|
EnhancedByPostSharpAttribute |
Obsolete.
Custom attribute added to the assembly manifest of modules processed by PostSharp.
|
|
EscalatePostSharpMessageAttribute |
Custom attribute that, when applied on an assembly, means that a given message
should be escalated to an error during the current PostSharp session.
|
|
FrameworkVariants |
Obsolete.
Defines constants identifying the different variants of the
.NET Framework (Full, Compact, Silverlight).
|
|
HasInheritedAttributeAttribute |
Internal Only. Custom attribute used internally by PostSharp to mark
elements having inherited custom attributes. This custom attribute should not
be used in custom code, otherwise PostSharp may not work properly.
|
|
ImplementationBoundAttributeAttribute |
Custom attribute meaning that custom attributes of a given type are
bound to the implementation, not to the semantics.
|
|
InvalidAnnotationException |
Exception thrown at build time by implementation of CompileTimeValidate(Object)
when an annotation is invalid.
|
|
Message |
Encapsulates a message (error, warning, info, ...).
|
|
MessageDispenser |
Provides a base implementation of IMessageDispenser
where the message key is supposed to be in format PRE0000, where
PRE is a prefix and 0000 is an integer. Keys for help URLs
have the format PRE0000?.
|
|
MessageException |
Exception embedding a Message.
|
|
MessageSource |
Provides commodity methods to work with an IMessageSink.
|
|
MetricAttribute |
Custom attribute that, when applied on an aspect, causes the aspect to increment some metric at build time.
|
|
MulticastAttribute |
Custom attribute that can be applied to multiple elements
using wildcards.
|
|
MulticastAttributeUsageAttribute |
Custom attribute that determines the usage of a MulticastAttribute.
|
|
PostSharpEnvironment |
Provides access to the current PostSharp environment (IPostSharpEnvironment).
|
|
PostSharpTrace |
Provides tracing functionality. An instance of the PostSharpTrace type
implements a trace sink.
|
|
ProjectExtensionElement |
Represents a custom element (or section) in the XML project type.
|
|
ProjectResource |
Represents an element of a resource section, i.e. a named object deserialized from XML.
|
|
RequirePostSharpAttribute |
Custom attribute that, when applied on another custom attribute (a class derived
from Attribute), means that assemblies with elements
annotated with that custom attribute should be processed by PostSharp.
|
|
RequireReflectionWrapperAttribute |
Obsolete.
Custom attribute that, when applied on a type, specifies that all build-time semantics of this type
require reflection wrappers to be passed instead of real reflection objects.
|
|
SuppressAnnotationValidationAttribute |
Instructs PostSharp that the validation of IValidableAnnotation is done by another component, and should
not be processed by the default component.
|
Structure | Description | |
---|---|---|
|
TargetFrameworkFamily |
Represents a variant of family (variant) of the .NET Framework, e.g. NetCore, NetFramework,
Silverlight or NetPortable.
|
Interface | Description | |
---|---|---|
|
IMessageDispenser |
Gets a text given its key.
|
|
IMessageSink |
Receives messages.
|
|
IPostSharpEnvironment |
Provides information about the current PostSharp environment.
|
|
IProject |
Provides information about the currently executing project.
|
|
IReflectionBindingManagerService |
Exposes the ResolveAssembly(Type) method, which gets the reference identity of
the assembly declaring a given type.
|
|
IService |
A service exposed by the build-time part of PostSharp.
|
|
IServiceLocator |
Exposes build-time services.
|
|
IStateStore |
A context that provides storage for arbitrary items.
|
|
ITargetFramework |
Represents a version and variant of the .NET framework (running on a device) on which the project being built is design to run.
|
|
IValidableAnnotation |
Interface that, when implemented by a custom attribute (Attribute),
causes PostSharp to invoke a validation method for every instance
of that custom attribute.
|
|
IWeavingSymbolsService |
Service that allows build-time code to push annotations (both programmatic and user-visible)
to PostSharp Tools for Visual Studio.
|
Enumeration | Description | |
---|---|---|
|
AssemblyLoadContext |
Enumeration of contexts in which assemblies can be loaded.
|
|
CompatibilityLevel |
Enumeration of standard levels of backward compatibility.
|
|
MulticastAttributes |
Attributes of elements to which multicast custom attributes (MulticastAttribute)
apply.
|
|
MulticastInheritance |
Kind of inheritance of MulticastAttribute.
|
|
MulticastTargets |
Kinds of targets to which multicast custom attributes (MulticastAttribute)
can apply.
|
|
SeverityType |
Types of message severities.
|