PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Type­SourceClone
Open sandboxFocus

LoggingTypeSource.Clone Method

Clone(String)

Returns a deep clone of the current object.

Declaration
protected override LoggingNamespaceSource Clone(string role)
Parameters
Type Name Description
System.String role

The role of the new instance, or null to keep the same role as in the source instance. The default value is null.

Returns
Type Description
LoggingNamespaceSource

A deep clone of the current instance.

Overrides
LoggingNamespaceSource.Clone(String)