PageRenderTime 35ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/src/NUnit/framework/Attributes/SetUICultureAttribute.cs

#
C# | 23 lines | 9 code | 2 blank | 12 comment | 0 complexity | aa210f1d567dba978783c6dec4e9a9a9 MD5 | raw file
Possible License(s): GPL-2.0
  1. // ****************************************************************
  2. // Copyright 2007, Charlie Poole
  3. // This is free software licensed under the NUnit license. You may
  4. // obtain a copy of the license at http://nunit.org
  5. // ****************************************************************
  6. using System;
  7. namespace NUnit.Framework
  8. {
  9. /// <summary>
  10. /// Summary description for SetUICultureAttribute.
  11. /// </summary>
  12. [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Assembly, AllowMultiple = true, Inherited=true)]
  13. public class SetUICultureAttribute : PropertyAttribute
  14. {
  15. /// <summary>
  16. /// Construct given the name of a culture
  17. /// </summary>
  18. /// <param name="culture"></param>
  19. public SetUICultureAttribute(string culture) : base("_SETUICULTURE", culture) { }
  20. }
  21. }