LoggingTypeSource.Clone Method |
Returns a deep clone of the current object.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
protected override LoggingNamespaceSource Clone( string role )
Parameters
- role
- Type: System.String
The role of the new instance, or null to keep the same role as in the source instance. The default value is null.
Return Value
Type: LoggingNamespaceSourceA deep clone of the current instance.