Configuration related to culture.
상속: IPhpConfigurationSection
예제 #1
0
        /// <summary>
        /// Creates a new compiler configuration as a shallow copy of
        /// the relevant sections of the global configuration record.
        /// </summary>
        /// <param name="app">Application configuration record.</param>
        /// <exception cref="ArgumentNullException"><paramref name="app"/> is a <B>null</B> reference.</exception>
        public CompilerConfiguration(ApplicationConfiguration /*!*/ app)
        {
            if (app == null)
            {
                throw new ArgumentNullException("app");
            }

            this.Compiler      = app.Compiler;
            this.Globalization = app.Globalization;
#if !SILVERLIGHT
            this.Paths = app.Paths;
#endif
        }
예제 #2
0
		/// <summary>
		/// Creates a new compiler configuration as a shallow copy of 
		/// the relevant sections of the global configuration record.
		/// </summary>
		/// <param name="app">Application configuration record.</param>
		/// <exception cref="ArgumentNullException"><paramref name="app"/> is a <B>null</B> reference.</exception>
		public CompilerConfiguration(ApplicationConfiguration/*!*/ app)
		{
			if (app == null)
				throw new ArgumentNullException("app");

			this.Compiler = app.Compiler;
			this.Globalization = app.Globalization;
#if !SILVERLIGHT
			this.Paths = app.Paths;
#endif
		}