PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Trace Namespace / Trace­Logging­Backend Class / Trace­Logging­Backend Methods / Trace­Logging­Backend.​Create­Type­Source Method

TraceLoggingBackend.CreateTypeSource Method

Creates a LoggingTypeSource for the given role and type.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Trace
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
protected override LoggingTypeSource CreateTypeSource(
	LoggingNamespaceSource parent,
	Type type
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
type
Type: System.Type

Return Value

Type: LoggingTypeSource
See Also