private void ParseNotifiers() { foreach (XmlElement e in notifiernodes) { string name = e.Attributes[NAME_STR].Value; string type = e.Attributes[TYPE_STR].Value; if (string.IsNullOrEmpty(name) || string.IsNullOrEmpty(type)) { throw new ArgumentNullException("name|type"); //LogLog("Name and Type must be specified for Notifier configurations"); } INotifier notifier = (INotifier)Activator.CreateInstance(Type.GetType(type)); notifier.Configure(e, mainNode); this.v_notifierList[name] = notifier; } }