PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Transformations Namespace / Arguments­Writer Class / Arguments­Writer Methods / Arguments­Writer.​Get­Arguments­Writer Method / Arguments­Writer.​Get­Arguments­Writer Method (Method­Mapping, IMethod­Signature)

ArgumentsWriter.GetArgumentsWriter Method (MethodMapping, IMethodSignature)

Gets an ArgumentsWriter able to build an Arguments object for a given method signature.

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 static ArgumentsWriter GetArgumentsWriter(
	MethodMapping methodMapping,
	IMethodSignature methodSignature
)

Parameters

methodMapping
Type: PostSharp.Sdk.AspectInfrastructure.MethodMapping
A MethodMapping.
methodSignature
Type: PostSharp.Sdk.CodeModel.IMethodSignature
The method signature for which the Arguments object should be built.

Return Value

Type: ArgumentsWriter
An ArgumentsWriter able to build an Arguments object for methodSignature.
See Also