PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms 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
 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
 7using System;
 8
 9namespace NUnit.Framework
10{
11	/// <summary>
12	/// Summary description for SetCultureAttribute.
13	/// </summary>
14	[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Assembly, AllowMultiple=true, Inherited=true)]
15	public class SetCultureAttribute : PropertyAttribute
16	{
17		/// <summary>
18		/// Construct given the name of a culture
19		/// </summary>
20		/// <param name="culture"></param>
21		public SetCultureAttribute( string culture ) : base( "_SETCULTURE", culture ) { }
22	}
23}