PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Type­Source Class / Logging­Type­Source Constructor / Logging­Type­Source Constructor (Logging­Namespace­Source, Type)

LoggingTypeSource Constructor (LoggingNamespaceSource, Type)

Note: This API is now obsolete.

Creates an instance of LoggingTypeSource.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
[ObsoleteAttribute("Use the constructor that uses a full source name instead.")]
protected LoggingTypeSource(
	LoggingNamespaceSource parent,
	Type sourceType
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
The parent LoggingNamespaceSource.
sourceType
Type: System.Type
The SourceType represented by the new LoggingTypeSource.
See Also