PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Type­Source Class / Logging­Type­Source Properties / Logging­Type­Source.​Generic­Parameter­Count Property

LoggingTypeSource.GenericParameterCount Property

Note: This API is now obsolete.

Gets the number of generic parameters in the type.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
[ObsoleteAttribute("Do not rely on this parameter as it may be incorrect when SourceType is not set.")]
public int GenericParameterCount { get; }

Property Value

Type: Int32
See Also