/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
- // ****************************************************************
- // Copyright 2007, Charlie Poole
- // This is free software licensed under the NUnit license. You may
- // obtain a copy of the license at http://nunit.org
- // ****************************************************************
-
- using System;
-
- namespace NUnit.Framework
- {
- /// <summary>
- /// Summary description for SetUICultureAttribute.
- /// </summary>
- [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Assembly, AllowMultiple = true, Inherited=true)]
- public class SetUICultureAttribute : PropertyAttribute
- {
- /// <summary>
- /// Construct given the name of a culture
- /// </summary>
- /// <param name="culture"></param>
- public SetUICultureAttribute(string culture) : base("_SETUICULTURE", culture) { }
- }
- }