PageRenderTime 58ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/Atlassian.Jira/Remote/RemoteFieldNameAttribute.cs

https://bitbucket.org/yyo/atlassian.net-sdk-v2.0
C# | 21 lines | 16 code | 2 blank | 3 comment | 0 complexity | 1f7633fc525b45afc91bd69ecd5170cc MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Atlassian.Jira.Remote
  6. {
  7. /// <summary>
  8. /// Attribute that can be applied to properties to modify the name of the remotefield used when updating an issue
  9. /// </summary>
  10. [AttributeUsage(AttributeTargets.Property)]
  11. internal class RemoteFieldNameAttribute: Attribute
  12. {
  13. public string Name { get; set; }
  14. public RemoteFieldNameAttribute(string remoteFieldName)
  15. {
  16. this.Name = remoteFieldName;
  17. }
  18. }
  19. }