1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
#if Microsoft_CONTROL
namespace System.Windows.Forms.DataVisualization.Charting
#else
namespace System.Web.UI.DataVisualization.Charting
#endif
{
[AttributeUsage(AttributeTargets.All)]
internal sealed class SRCategoryAttribute : CategoryAttribute
{
// Methods
public SRCategoryAttribute(string category)
: base(category)
{
}
protected override string GetLocalizedString(string value)
{
return SR.Keys.GetString(value);
}
}
}
|