PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Transformations Namespace / State­Machine­Marker­Transformation Class / State­Machine­Marker­Transformation Methods / State­Machine­Marker­Transformation.​Create­Instance Method / State­Machine­Marker­Transformation.​Create­Instance Method (Aspect­Weaver­Instance, IMethod­Body­Transformation­Instance)

StateMachineMarkerTransformation.CreateInstance Method (AspectWeaverInstance, IMethodBodyTransformationInstance)

[Missing <summary> documentation for "M:PostSharp.Sdk.AspectWeaver.Transformations.StateMachineMarkerTransformation.CreateInstance(PostSharp.Sdk.AspectWeaver.AspectWeaverInstance,PostSharp.Sdk.AspectInfrastructure.IMethodBodyTransformationInstance)"]

Namespace:  PostSharp.Sdk.AspectWeaver.Transformations
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public AspectWeaverTransformationInstance CreateInstance(
	AspectWeaverInstance aspectWeaverInstance,
	IMethodBodyTransformationInstance stateMachineTransformationInstance
)

Parameters

aspectWeaverInstance
Type: PostSharp.Sdk.AspectWeaver.AspectWeaverInstance

[Missing <param name="aspectWeaverInstance"/> documentation for "M:PostSharp.Sdk.AspectWeaver.Transformations.StateMachineMarkerTransformation.CreateInstance(PostSharp.Sdk.AspectWeaver.AspectWeaverInstance,PostSharp.Sdk.AspectInfrastructure.IMethodBodyTransformationInstance)"]

stateMachineTransformationInstance
Type: PostSharp.Sdk.AspectInfrastructure.IMethodBodyTransformationInstance

[Missing <param name="stateMachineTransformationInstance"/> documentation for "M:PostSharp.Sdk.AspectWeaver.Transformations.StateMachineMarkerTransformation.CreateInstance(PostSharp.Sdk.AspectWeaver.AspectWeaverInstance,PostSharp.Sdk.AspectInfrastructure.IMethodBodyTransformationInstance)"]

Return Value

Type: AspectWeaverTransformationInstance

[Missing <returns> documentation for "M:PostSharp.Sdk.AspectWeaver.Transformations.StateMachineMarkerTransformation.CreateInstance(PostSharp.Sdk.AspectWeaver.AspectWeaverInstance,PostSharp.Sdk.AspectInfrastructure.IMethodBodyTransformationInstance)"]

See Also