namespace Caliburn.Micro.Core {
using System;
using System.Collections.Generic;
///
/// Extension methods for
///
public static class EnumerableExtensions {
///
/// Applies the action to each element in the list.
///
/// The enumerable item's type.
/// The elements to enumerate.
/// The action to apply to each item in the list.
public static void Apply(this IEnumerable enumerable, Action action) {
foreach (var item in enumerable) {
action(item);
}
}
}
}