ClearMode.

Always Field

Summary

The

Always
setting has the effect of always clearing user types before returning to the pool. This is the default behavior on .NET Standard.

You might want to turn this on in a .NET Core project if you were concerned about sensitive data stored in value types leaking to other pars of your application.

Namespace
Avalonia.Collections.Pooled
Containing Type
ClearMode

Syntax

Always

Constant Value

Value Type
1 Int32