PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

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