Index: Core/Components/src/Core.Components.GraphSharp.Forms/Converters/PointedTreeVertexTypeToStringConverter.cs =================================================================== diff -u -r7824b1299ee61690e6bbbb5e665c80e516813653 -r06a0d36d0077dc66466da3296e9ce33f9fa949f2 --- Core/Components/src/Core.Components.GraphSharp.Forms/Converters/PointedTreeVertexTypeToStringConverter.cs (.../PointedTreeVertexTypeToStringConverter.cs) (revision 7824b1299ee61690e6bbbb5e665c80e516813653) +++ Core/Components/src/Core.Components.GraphSharp.Forms/Converters/PointedTreeVertexTypeToStringConverter.cs (.../PointedTreeVertexTypeToStringConverter.cs) (revision 06a0d36d0077dc66466da3296e9ce33f9fa949f2) @@ -30,6 +30,7 @@ /// /// Converter to change a instance to a string. /// + [ValueConversion(typeof(PointedTreeVertexType), typeof(string))] public class PointedTreeVertexTypeToStringConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) @@ -54,7 +55,7 @@ public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { - throw new NotImplementedException(); + throw new NotSupportedException(); } } } Index: Core/Components/test/Core.Components.GraphSharp.Forms.Test/Converters/PointedTreeVertexTypeToStringConverterTest.cs =================================================================== diff -u -r7824b1299ee61690e6bbbb5e665c80e516813653 -r06a0d36d0077dc66466da3296e9ce33f9fa949f2 --- Core/Components/test/Core.Components.GraphSharp.Forms.Test/Converters/PointedTreeVertexTypeToStringConverterTest.cs (.../PointedTreeVertexTypeToStringConverterTest.cs) (revision 7824b1299ee61690e6bbbb5e665c80e516813653) +++ Core/Components/test/Core.Components.GraphSharp.Forms.Test/Converters/PointedTreeVertexTypeToStringConverterTest.cs (.../PointedTreeVertexTypeToStringConverterTest.cs) (revision 06a0d36d0077dc66466da3296e9ce33f9fa949f2) @@ -87,7 +87,7 @@ } [Test] - public void ConvertBack_ThrowNotImplementedException() + public void ConvertBack_ThrowNotSupportedException() { // Setup var converter = new PointedTreeVertexTypeToStringConverter(); @@ -96,7 +96,7 @@ TestDelegate call = () => converter.ConvertBack(string.Empty, typeof(PointedTreeVertexType), null, CultureInfo.InvariantCulture); // Assert - Assert.Throws(call); + Assert.Throws(call); } } } \ No newline at end of file