| 1234567891011121314151617181920212223242526272829303132 |
- //
- // System.Resources.NeutralResourcesLanguageAttribute.cs
- //
- // Author:
- // Duncan Mak ([email protected])
- //
- // (C) 2001 Ximian, Inc. http://www.ximian.com
- //
- namespace System.Resources
- {
- [AttributeUsage (AttributeTargets.Assembly)]
- public sealed class NeutralResourcesLanguageAttribute : Attribute
- {
-
- private string culture;
-
- // Constructors
- public NeutralResourcesLanguageAttribute (string cultureName)
- {
- if(cultureName==null) {
- throw new ArgumentNullException("culture is null");
- }
-
- culture = cultureName;
- }
- public string CultureName
- {
- get { return culture; }
- }
- }
- }
|