public void FilterCollection(FilterScheme filter, IEnumerable rawCollection, IList filteredCollection) { Argument.IsNotNull(() => filter); filter.EnsureIntegrity(_reflectionService); if (filteredCollection == null) { return; } filter.Apply(rawCollection, filteredCollection); }
public void FilterCollection(FilterScheme filter, IEnumerable rawCollection, IList filteredCollection) { Argument.IsNotNull(() => filter); filter.EnsureIntegrity(_reflectionService); if (filteredCollection == null) { return; } filter.Apply(rawCollection, filteredCollection); }
public async Task FilterCollectionAsync(FilterScheme filter, IEnumerable rawCollection, IList filteredCollection) { Argument.IsNotNull(() => filter); await filter.EnsureIntegrityAsync(); if (filteredCollection == null) { return; } filter.Apply(rawCollection, filteredCollection); }
public async Task FilterCollectionAsync(FilterScheme filter, IEnumerable rawCollection, IList filteredCollection) { Argument.IsNotNull(() => filter); await filter.EnsureIntegrityAsync(); if (filteredCollection == null) { return; } filter.Apply(rawCollection, filteredCollection); }
private void UpdatePreviewItems() { if (FilterScheme is null || RawCollection is null) { return; } if (!AllowLivePreview) { return; } if (!EnableLivePreview) { PreviewItems.Clear(); return; } FilterScheme.Apply(RawCollection, PreviewItems); }