PostSharp 2023.0 / / 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: 2023.0.3.0 (2023.0.3.0)
[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