Пример #1
0
        public void Set <TProperty>(PropertyInfo property, Transformation.IPropertyProvider <TProperty, TMessage> propertyProvider)
        {
            var specification = new SourcePropertyTransformSpecification <TMessage, TMessage, TProperty>(property, propertyProvider);

            _specifications.Add(specification);
        }
Пример #2
0
        public void Replace <TProperty>(PropertyInfo property, Transformation.IPropertyProvider <TProperty, TMessage> propertyProvider)
        {
            var specification = new InputPropertyTransformSpecification <TMessage, TMessage, TProperty>(property, propertyProvider);

            _specifications.Add(specification);
        }