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

LoggingNamespaceSource.Clone Method

Clone(String)

Returns a deep clone of the current object.

Declaration
protected virtual LoggingNamespaceSource Clone(string role = null)
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.