Permalink
Browse files

Reverting pulling up some methods in to the interface

  • Loading branch information...
1 parent d1958ab commit 378ebf417194f8ee98b498437b9dcbebff87cae3 @jbogard jbogard committed May 4, 2010
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/AutoMapper/IConfigurationProvider.cs
  2. +2 −2 src/AutoMapper/Mapper.cs
View
4 src/AutoMapper/IConfigurationProvider.cs
@@ -17,14 +17,14 @@ public interface IConfigurationProvider : IProfileConfiguration
TypeMap[] GetAllTypeMaps();
TypeMap FindTypeMapFor(object source, Type sourceType, Type destinationType);
TypeMap FindTypeMapFor(ResolutionResult resolutionResult, Type destinationType);
- void AssertConfigurationIsValid();
+ IFormatterConfiguration GetProfileConfiguration(string profileName);
+ void AssertConfigurationIsValid();
void AssertConfigurationIsValid(TypeMap typeMap);
void AssertConfigurationIsValid(string profileName);
IObjectMapper[] GetMappers();
TypeMap CreateTypeMap(Type sourceType, Type destinationType);
event EventHandler<TypeMapCreatedEventArgs> TypeMapCreated;
- IFormatterConfiguration GetProfileConfiguration(string profileName);
}
}
View
4 src/AutoMapper/Mapper.cs
@@ -184,12 +184,12 @@ public static IMappingEngine Engine
}
}
- private static IConfiguration Configuration
+ public static IConfiguration Configuration
{
get { return (IConfiguration) ConfigurationProvider; }
}
- public static IConfigurationProvider ConfigurationProvider
+ private static IConfigurationProvider ConfigurationProvider
{
get
{

0 comments on commit 378ebf4

Please sign in to comment.