PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/Atlassian.Jira/Linq/JqlFieldNameAttribute.cs

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