Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added Ignore to non-generic IMemberConfigurationExpression

  • Loading branch information...
commit 2b2ef0075f033b176fdfe37ad77ca7dfe6d2aac5 1 parent 2ca24b0
Mark Rendle authored February 03, 2011
1  src/AutoMapper/IMappingExpression.cs
@@ -36,6 +36,7 @@ public interface IMemberConfigurationExpression
36 36
         IResolutionExpression ResolveUsing(IValueResolver valueResolver);
37 37
         IResolverConfigurationExpression ResolveUsing(Type valueResolverType);
38 38
         IResolverConfigurationExpression ResolveUsing<TValueResolver>();
  39
+        void Ignore();
39 40
     }
40 41
 
41 42
     public interface IMemberConfigurationExpression<TSource>
5  src/AutoMapper/Internal/MappingExpression.cs
@@ -84,6 +84,11 @@ public IResolverConfigurationExpression ResolveUsing<TValueResolver>()
84 84
 
85 85
             return new ResolutionExpression(_typeMap.SourceType, _propertyMap);
86 86
         }
  87
+
  88
+	    public void Ignore()
  89
+	    {
  90
+	        _propertyMap.Ignore();
  91
+	    }
87 92
 	}
88 93
 
89 94
 	internal class MappingExpression<TSource, TDestination> : IMappingExpression<TSource, TDestination>, IMemberConfigurationExpression<TSource>, IFormatterCtorConfigurator

0 notes on commit 2b2ef00

Please sign in to comment.
Something went wrong with that request. Please try again.