private static DtoLoaderConfigurationExpression Build(Action <DtoLoaderConfigurationExpression> configure)
        {
            var expr = new DtoLoaderConfigurationExpression();

            configure(expr);
            return(expr);
        }
 public RelatedDtoLoaderConfigurationContext(
     DtoLoaderConfigurationExpression configurationExpression,
     IServiceProvider serviceProvider)
 {
     ConfigurationExpression = configurationExpression;
     ServiceProvider         = serviceProvider;
 }
        public DtoLoaderConfiguration(DtoLoaderConfigurationExpression configurationExpression)
        {
            _profiles = configurationExpression.Profiles;

            FinalizeProfiles();
        }