Пример #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 });
 }