/src/NUnit/framework/Attributes/SetCultureAttribute.cs
# · C# · 23 lines · 9 code · 2 blank · 12 comment · 0 complexity · 86a2cd960dcc60598fff32998ce80f5b MD5 · raw file
- // ****************************************************************
- // 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 SetCultureAttribute.
- /// </summary>
- [AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Assembly, AllowMultiple=true, Inherited=true)]
- public class SetCultureAttribute : PropertyAttribute
- {
- /// <summary>
- /// Construct given the name of a culture
- /// </summary>
- /// <param name="culture"></param>
- public SetCultureAttribute( string culture ) : base( "_SETCULTURE", culture ) { }
- }
- }