示例#1
0
        public ControlTypeMapper(RwHtmlCrlNamespaceMapper namespaceMapper)
        {
            if (namespaceMapper == null)
                throw new ArgumentNullException("namespaceMapper");

            this.namespaceMapper = namespaceMapper;
        }
示例#2
0
 public ControlTypeMapper()
 {
     loadedAssemblies = new Dictionary<string, Assembly>(StringComparer.OrdinalIgnoreCase);
     string currentAssembly = Assembly.GetExecutingAssembly().FullName;
     namespaceMapper = new RwHtmlCrlNamespaceMapper(new[] { currentAssembly });
 }