Open sandboxFocus

Method Clone

Clone(string)

Returns a deep clone of the current object.

Declaration
protected override LoggingNamespaceSource Clone(string role)
Parameters
Type Name Description
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