RequirePostSharpAttribute Constructor (Type) |
Initializes a new RequirePostSharpAttribute and specifies the required IService type.
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public RequirePostSharpAttribute( Type serviceType )
Parameters
- serviceType
- Type: System.Type
A type derived from IService.