PageRenderTime 44ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/src/NUnit/framework/Attributes/SetCultureAttribute.cs

#
C# | 23 lines | 9 code | 2 blank | 12 comment | 0 complexity | 86a2cd960dcc60598fff32998ce80f5b 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 SetCultureAttribute.
  11. /// </summary>
  12. [AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Assembly, AllowMultiple=true, Inherited=true)]
  13. public class SetCultureAttribute : PropertyAttribute
  14. {
  15. /// <summary>
  16. /// Construct given the name of a culture
  17. /// </summary>
  18. /// <param name="culture"></param>
  19. public SetCultureAttribute( string culture ) : base( "_SETCULTURE", culture ) { }
  20. }
  21. }