| 1234567891011121314151617181920212223242526272829303132333435363738 |
- /**
- * Namespace: System.Web
- * Class: WebCategoryAttribute
- *
- * Author: Gaurav Vaish
- * Maintainer: [email protected]
- * Contact: <[email protected]>, <[email protected]>
- * Implementation: yes
- * Status: 95%
- *
- * (C) Gaurav Vaish (2002)
- */
- using System;
- using System.ComponentModel;
- namespace System.Web
- {
- [AttributeUsage(AttributeTargets.All)]
- internal sealed class WebCategoryAttribute : CategoryAttribute
- {
- public WebCategoryAttribute(string category) : base(category)
- {
- }
- [MonoTODO]
- protected override string GetLocalizedString(string value)
- {
- string retVal = base.GetLocalizedString(value);
- if(retVal == null)
- {
- throw new NotImplementedException();
- //retVal = "Category_" + something I don't know how to get!
- }
- return retVal;
- }
- }
- }
|