PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Method­Body­Transformation­Redirection Class / Method­Body­Transformation­Redirection Methods / Method­Body­Transformation­Redirection.​Set­Pipeline­State­Item Method

MethodBodyTransformationRedirection.SetPipelineStateItem Method

Sets a piece of information that will be made available to next transformations in the branch created by the current MethodBodyTransformationRedirection. This piece of information can be retrieved by GetPipelineStateItem(Object).

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public void SetPipelineStateItem(
	Object key,
	Object value
)

Parameters

key
Type: System.Object
Item key.
value
Type: System.Object
Item value.
See Also