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

EventSourceLoggingBackend.CreateTypeSource Method

Creates LoggingTypeSource for the given role and type.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.EventSource
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 5.0.55.0 (5.0.55.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