PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Parameter­Binding­Instance­Context Structure / Advice­Parameter­Binding­Instance­Context Methods / Advice­Parameter­Binding­Instance­Context.​Require­Parameter­Type Method

AdviceParameterBindingInstanceContext.RequireParameterType Method

[Missing <summary> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceParameterBindingInstanceContext.RequireParameterType(PostSharp.Sdk.CodeModel.ParameterDeclaration,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public bool RequireParameterType(
	ParameterDeclaration parameter,
	ITypeSignature requiredType,
	GenericMap genericMap
)

Parameters

parameter
Type: PostSharp.Sdk.CodeModel.ParameterDeclaration

[Missing <param name="parameter"/> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceParameterBindingInstanceContext.RequireParameterType(PostSharp.Sdk.CodeModel.ParameterDeclaration,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

requiredType
Type: PostSharp.Sdk.CodeModel.ITypeSignature

[Missing <param name="requiredType"/> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceParameterBindingInstanceContext.RequireParameterType(PostSharp.Sdk.CodeModel.ParameterDeclaration,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

genericMap
Type: PostSharp.Sdk.CodeModel.GenericMap

[Missing <param name="genericMap"/> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceParameterBindingInstanceContext.RequireParameterType(PostSharp.Sdk.CodeModel.ParameterDeclaration,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceParameterBindingInstanceContext.RequireParameterType(PostSharp.Sdk.CodeModel.ParameterDeclaration,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

See Also