public CoffeeScriptConfiguration GetCoffeeConfiguration()
        {
            if (mCoffeeConfiguration == null) {
                mCoffeeConfiguration = (CoffeeScriptConfiguration)ConfigurationManager.GetSection("coffee");

                if (mCoffeeConfiguration == null)
                    mCoffeeConfiguration = CoffeeScriptConfiguration.DefaultWeb;
            }

            return mCoffeeConfiguration;
        }
예제 #2
0
        public CoffeeScriptConfiguration GetCoffeeConfiguration()
        {
            if (mCoffeeConfiguration == null)
            {
                mCoffeeConfiguration = (CoffeeScriptConfiguration)ConfigurationManager.GetSection("coffee");

                if (mCoffeeConfiguration == null)
                {
                    mCoffeeConfiguration = CoffeeScriptConfiguration.DefaultWeb;
                }
            }

            return(mCoffeeConfiguration);
        }
예제 #3
0
 public CoffeeScriptHttpHandler()
 {
     mConfig = new WebConfigConfigurationLoader().GetCoffeeConfiguration();
     mHandlerImpl = new ContainerFactory().GetCoffeeContainer(mConfig)
         .GetInstance<CoffeeHandlerImpl>();
 }