/Atlassian.Jira/Remote/RemoteFieldNameAttribute.cs
C# | 21 lines | 16 code | 2 blank | 3 comment | 0 complexity | 1f7633fc525b45afc91bd69ecd5170cc MD5 | raw file
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
-
- namespace Atlassian.Jira.Remote
- {
- /// <summary>
- /// Attribute that can be applied to properties to modify the name of the remotefield used when updating an issue
- /// </summary>
- [AttributeUsage(AttributeTargets.Property)]
- internal class RemoteFieldNameAttribute: Attribute
- {
- public string Name { get; set; }
-
- public RemoteFieldNameAttribute(string remoteFieldName)
- {
- this.Name = remoteFieldName;
- }
- }
- }