1
0
mirror of synced 2024-11-24 01:33:50 +00:00
Tapeti/Tapeti.DataAnnotations/DataAnnotationsMiddleware.cs

22 lines
542 B
C#
Raw Normal View History

2017-02-12 20:43:30 +00:00
using System.Collections.Generic;
using Tapeti.Config;
namespace Tapeti.DataAnnotations
{
public class DataAnnotationsMiddleware : ITapetiExtension
{
public void RegisterDefaults(IDependencyContainer container)
{
}
public IEnumerable<object> GetMiddleware(IDependencyResolver dependencyResolver)
{
return new object[]
{
new DataAnnotationsMessageMiddleware(),
new DataAnnotationsPublishMiddleware()
};
}
}
}