LoggingNamespaceSource.Clone Method |
Returns a deep clone of the current object.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.10.10.0 (6.10.10.0)
C#
protected virtual LoggingNamespaceSource Clone( string role = null )
Parameters
- role (Optional)
- 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.