PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Model Namespace/Weak­Event­Strategy Enumeration

WeakEventStrategy Enumeration

Defines behavior of a weak event.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public enum WeakEventStrategy
Members
  Member nameValueDescription
Default0 Default behavior.
AlwaysWeak0 Always keep weak references.
AlwaysStrong1 Always keep strong references.
See Also