Esempio n. 1
0
        public FileSystemRepository(
            ITemplatePathResolver pathResolver,
            IFileSystem fileSystem,
            ITemplateCompiler compiler,
            ITemplateClassNameBuilder classNameBuilder,
            ITemplateCodeBuilder codeBuilder,
            ICodeDomProviderFactory codeDomProviderFactory,
            ICompiledTemplateFactory compiledTemplateFactory,
            IFileSystemRepositoryConfiguration configuration)
        {
            pathResolver.ThrowIfNull("pathResolver");
            fileSystem.ThrowIfNull("fileSystem");
            compiler.ThrowIfNull("compiler");
            classNameBuilder.ThrowIfNull("classNameBuilder");
            codeBuilder.ThrowIfNull("codeBuilder");
            codeDomProviderFactory.ThrowIfNull("codeDomProviderFactory");
            compiledTemplateFactory.ThrowIfNull("compiledTemplateFactory");
            configuration.ThrowIfNull("configuration");

            _pathResolver            = pathResolver;
            _fileSystem              = fileSystem;
            _compiler                = compiler;
            _classNameBuilder        = classNameBuilder;
            _codeBuilder             = codeBuilder;
            _codeDomProviderFactory  = codeDomProviderFactory;
            _compiledTemplateFactory = compiledTemplateFactory;
            _configuration           = configuration;
        }
 public ServiceMetadataImporter(ICodeDomProviderFactory codeDomProviderFactory)
 {
     m_CodeDomProviderFactory = codeDomProviderFactory;
 }
 public ServiceMetadataImporter(ICodeDomProviderFactory codeDomProviderFactory)
 {
     m_CodeDomProviderFactory = codeDomProviderFactory;
 }