Example #1
0
 internal MapExpression(ModelToMessageMap <TModel, TMessage> modelToMessageMap,
                        Action <TMessage, TProperty> setMessagePropertyAction)
 {
     _modelToMessageMap     = modelToMessageMap;
     _setMessageValueAction = setMessagePropertyAction;
 }
Example #2
0
 public void Add <TMessage>(ModelToMessageMap <TModel, TMessage> map) where TMessage : IMessage, new()
 {
     maps.Add(map);
 }