Beispiel #1
0
        public override ConfigDef ConfigClient()
        {
            ValidatorOptions.ResourceProviderType = typeof(ValidationMessages);
            ConfigFile(x => x.Log4net(), "Log4net.config");
            ConfigFile(x => x.The <ApplicationConfig>(), "Application.config");
            ConfigFile(x => x.Remoting(), "Remoting.config");

            if (!IsTest)
            {
                Do.AddClientHook(x => new HttpIdentityInjector(x));
            }

            return(this);
        }