Table of Contents

Method PushProperties

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

PushProperties(IEnumerable, PropertyInfo?, object?, ref ConcurrentStack<PropInstanceAndValue>?)

Iterates collection of the objects and changes the specified property value for the each item. Old property values are pushed to the oldValues stack.

public static void PushProperties(IEnumerable objects, PropertyInfo? propInfo, object? newValue, ref ConcurrentStack<PropInstanceAndValue>? oldValues)

Parameters

objects IEnumerable

The collection of objects.

propInfo PropertyInfo

Property information.

newValue object

New value for the property.

oldValues ConcurrentStack<PropInstanceAndValue>

The stack to save old property values.

Remarks