PostSharp6.6//API Reference/Post­Sharp.​Extensibility Namespace/Require­Post­Sharp­Attribute Class/Require­Post­Sharp­Attribute Constructor/Require­Post­Sharp­Attribute Constructor (Type)

RequirePostSharpAttribute Constructor (Type)

Initializes a new RequirePostSharpAttribute and specifies the required IService type.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.6.12.0 (6.6.12.0)
Syntax
C#
public RequirePostSharpAttribute(
	Type serviceType
)

Parameters

serviceType
Type: System.Type
A type derived from IService.
See Also