1
0
mirror of synced 2024-09-27 19:46:07 +00:00
Tapeti/Config/IBindingContext.cs

27 lines
551 B
C#
Raw Normal View History

2016-12-11 14:08:58 +00:00
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Tapeti.Config
{
public delegate object ValueFactory(IMessageContext context);
public interface IBindingContext
{
Type MessageClass { get; set; }
IReadOnlyList<IBindingParameter> Parameters { get; }
void Use(IMessageMiddleware middleware);
2016-12-11 14:08:58 +00:00
}
public interface IBindingParameter
{
ParameterInfo Info { get; }
bool HasBinding { get; }
void SetBinding(ValueFactory valueFactory);
}
}