using System; using Chernobyl.Collections.Generic.Event; using Chernobyl.Values; namespace Chernobyl.Mathematics.Movement { /// /// Services related to Chernobyl.Mathematics.Movement. /// public interface IServices : IEventCollection {} /// /// Basic implementation of . /// public class Services : DecoratingEventList, IServices { /// /// Initializes a new instance of the class. /// public Services() { Add(new MatrixTransform.Factory()); } } /// /// Extension and utility methods for . /// public static class Extensions { /// /// Returns the services list for Chernobyl.Mathematics.Movement. /// /// The list to look into for the /// Chernobyl.Mathematics.Movement services list. /// The services list for Chernobyl.Mathematics.Movement. public static IEventEnumerable Movement(this IEventEnumerable services) { return services.OfType(); } } }