Skip to content

Commit 9d834b3

Browse files
Merge pull request #495 from GridProtectionAlliance/LabelAttributeUpdate
Updated `LabelAttribute` to allow for method targets
2 parents 3dd4b43 + 793095f commit 9d834b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Libraries/GSF.Core/ComponentModel/DataAnnotations/LabelAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace GSF.ComponentModel.DataAnnotations
2828
/// <summary>
2929
/// Defines an attribute that will define a UI label to used for a modeled table field.
3030
/// </summary>
31-
[AttributeUsage(AttributeTargets.Property)]
31+
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)]
3232
public sealed class LabelAttribute : Attribute
3333
{
3434
/// <summary>

0 commit comments

Comments
 (0)