PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Method­Mapping Class / Method­Mapping Constructor

MethodMapping Constructor

Initializes a new MethodMapping.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
protected MethodMapping(
	AspectInfrastructureTask aspectInfrastructureTask,
	MethodMappingInformation methodMappingInformation
)

Parameters

aspectInfrastructureTask
Type: PostSharp.Sdk.AspectInfrastructure.AspectInfrastructureTask
The parent AspectInfrastructureTask.
methodMappingInformation
Type: PostSharp.Sdk.AspectInfrastructure.MethodMappingInformation
Static information about the MethodMapping.
See Also