public ControlTypeMapper(RwHtmlCrlNamespaceMapper namespaceMapper) { if (namespaceMapper == null) throw new ArgumentNullException("namespaceMapper"); this.namespaceMapper = namespaceMapper; }
public ControlTypeMapper() { loadedAssemblies = new Dictionary<string, Assembly>(StringComparer.OrdinalIgnoreCase); string currentAssembly = Assembly.GetExecutingAssembly().FullName; namespaceMapper = new RwHtmlCrlNamespaceMapper(new[] { currentAssembly }); }