public SetIsRetained ( bool isRetained ) : void | ||
isRetained | bool | If set to |
Résultat | void |
public void SetIsRetained(bool isRetained)
{
lock (monitor)
{
if (isRetained)
{
retain_ref_count++;
}
else {
retain_ref_count--;
}
}
CheckState();
}