RefreshHelper MaybeRefresh Method NReco.Recommender Class Library
Adds the specified {@link Refreshable} to the given collection of {@link Refreshable}s if it is not already there and immediately refreshes it.

Namespace: NReco.CF.Taste.Impl.Common
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void MaybeRefresh(
	IList<IRefreshable> alreadyRefreshed,
	IRefreshable refreshable
)

Parameters

alreadyRefreshed
Type: System.Collections.Generic IList IRefreshable 
the collection of IRefreshables
refreshable
Type: NReco.CF.Taste.Common IRefreshable
the IRefreshable to potentially add and refresh
See Also