using System.Collections.Generic;
using Gallium;
namespace Nitride
{
///
/// Extension methods to run a Nitride operation inline with code.
///
public static class NitrideOperationExtensions
{
///
/// Runs the given configured operation against the input and returns
/// the results.
///
/// The entities to perform the operation against.
/// The operation to run.
/// The results of the operation.
public static IEnumerable Run(
this IEnumerable input,
INitrideOperation operation)
{
return operation.Run(input);
}
}
}