The RoutedCommand in WPF has 3 overloaded constructors.
Consider the following:
public static RoutedCommand AddTextFieldCommand = new RoutedCommand();
vs
public static RoutedCommand AddTextFieldCommand = new RoutedCommand("AddTextField", typeof(DesignerWindow));
What advantage does the second one have?
Does it make it easier to define in XAML ? MSDN doesn't really give much details about the second constructor.