PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Options Class/Logging­Options Methods/Logging­Options.​Freeze Method

LoggingOptions.Freeze Method

Prevents the object from being modified.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public virtual void Freeze()
See Also