public void ExceptionHandlerDataTest() { string name = "some name"; ExceptionHandlerData data = new ExceptionHandlerData(); data.Name = name; ExceptionHandlerNode node = new ExceptionHandlerNodeImpl(data); Assert.AreEqual(name, node.Name); }
public void ExceptionHandlerNodeDataTest() { string name = "some name"; ExceptionHandlerData exceptionHandlerData = new ExceptionHandlerData(); exceptionHandlerData.Name = name; ExceptionHandlerNode exceptionHandlerNode = new ExceptionHandlerNodeImpl(exceptionHandlerData); ExceptionHandlerData nodeData = exceptionHandlerNode.ExceptionHandlerData; Assert.AreEqual(name, nodeData.Name); }
public ExceptionHandlerNodeImpl(ExceptionHandlerData data) { this.data = data; Rename(data.Name); }
/// <summary> /// Adds an <see cref="ExceptionHandlerData"/> to the collection. /// </summary> /// <param name="exceptionHandlerData">The instance to add to the collection.</param> public void Add(ExceptionHandlerData exceptionHandlerData) { AddProvider(exceptionHandlerData); }