PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / IStandalone­Transformation­Instance Interface

IStandaloneTransformationInstance Interface

Marker interface that can be put on a transformation instance that means that aspect weaver instance markers can't be used with it.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public interface IStandaloneTransformationInstance : ITransformationInstance

Normal: An aspect weaver instance can provide multiple transformation instances (e.g. if an aspect type has multiple advice groups or multiple [IntroduceMember] fields). The dependencies of these aspect weaver instances are not put on the instances but instead on two "markers" the bracket around all of those transformation instances.

With this: A "standalone" transformation instance isn't bracketable by markers: it gets the dependencies of the aspect weaver instance on its own, and doesn't cause any markers to appear.

See Also