diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-12-07 04:32:57 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-12-07 04:32:57 +0100 |
| commit | fd3cf7597b2c3084c41993fe2043a484466c4fa9 (patch) | |
| tree | 7e5ccf6829bf555eb4720a5c7593237caaa0ac5c /src/Command.cs | |
| parent | d8e417769988c76a7ebe9adc85c929e815583683 (diff) | |
debug for netcore standards 2
Diffstat (limited to 'src/Command.cs')
| -rw-r--r-- | src/Command.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Command.cs b/src/Command.cs index ba95acc9..5d5f85e4 100644 --- a/src/Command.cs +++ b/src/Command.cs @@ -64,7 +64,7 @@ namespace Crow /// <summary> /// if true, action defined in this command may be executed, /// </summary> - [XmlAttributeAttribute][DefaultValue(true)] + [DefaultValue(true)] public virtual bool CanExecute { get { return canExecute; } set { @@ -77,7 +77,7 @@ namespace Crow /// <summary> /// label to display in the bound control /// </summary> - [XmlAttributeAttribute][DefaultValue("Unamed Command")] + [DefaultValue("Unamed Command")] public virtual string Caption { get { return caption; } set { @@ -91,7 +91,7 @@ namespace Crow /// <summary> /// Icon to display in the bound control /// </summary> - [XmlAttributeAttribute] + public Picture Icon { get { return icon; } set { |