Open sandboxFocus

Interface IWeavingSymbolsService

Service that allows build-time code to push annotations (both programmatic and user-visible) to PostSharp Tools for Visual Studio.

Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
[InternalImplement]
public interface IWeavingSymbolsService : IService
Remarks

Use this service from an aspect, at build time, to add a text to the CodeLens and IntelliSense tooltip of a declaration, to report the lines of code saved, or to make the Visual Studio tools consider that a declaration has a custom attribute. Get an instance by calling GetService<T>(bool) on CurrentProject.

Methods

Name Description
PushAnnotation(object, Type, string, string, int)

Pushes an annotation to PostSharp Tools for Visual Studio.

See Also