System.Web.Compilation.AppResourcesAssemblyBuilder.AppResourcesAssemblyBuilder C# (CSharp) Method

AppResourcesAssemblyBuilder() public method

public AppResourcesAssemblyBuilder ( string canonicAssemblyName, string baseAssemblyPath, System.Web.Compilation.AppResourcesCompiler appres ) : System
canonicAssemblyName string
baseAssemblyPath string
appres System.Web.Compilation.AppResourcesCompiler
return System
		public AppResourcesAssemblyBuilder (string canonicAssemblyName, string baseAssemblyPath, AppResourcesCompiler appres)
		{
			this.appResourcesCompiler = appres;
			this.baseAssemblyPath = baseAssemblyPath;
			this.baseAssemblyDirectory = Path.GetDirectoryName (baseAssemblyPath);
			this.canonicAssemblyName = canonicAssemblyName;
			
			config = WebConfigurationManager.GetWebApplicationSection ("system.web/compilation") as CompilationSection;
			if (config == null || !CodeDomProvider.IsDefinedLanguage (config.DefaultLanguage))
				throw new ApplicationException ("Could not get the default compiler.");
			ci = CodeDomProvider.GetCompilerInfo (config.DefaultLanguage);
			if (ci == null || !ci.IsCodeDomProviderTypeValid)
				throw new ApplicationException ("Failed to obtain the default compiler information.");
		}