IFormattable.Format Method |
Appends a description of the current object to a given UnsafeStringBuilder.
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
C#
void Format( UnsafeStringBuilder stringBuilder, FormattingRole role )
Parameters
- stringBuilder
- Type: PostSharp.Patterns.Formatters.UnsafeStringBuilder
The UnsafeStringBuilder to which the object description should be written. - role
- Type: PostSharp.Patterns.Formatters.FormattingRole
An object describing in which context the object is being formatted (e.g. caching or logging).