mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* DesignerSerializationVisibilityAttribute.cs: Implemented. * DesignerSerializationVisibility.cs: New enumeration. * LocalizableAttribute.cs: Implemented. * BrowsableAttribute.cs: Implemented. * DesignOnlyAttribute.cs: Implemented. * DescriptionAttribute.cs: Implement. * MemberDescriptor.cs: Implemented. * CategoryAttribute.cs: implemented. svn path=/trunk/mcs/; revision=1215
41 lines
739 B
C#
Executable File
41 lines
739 B
C#
Executable File
//
|
|
// System.ComponentModel.LocalizableAttribute.cs
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.ComponentModel {
|
|
|
|
[AttributeUsage (AttributeTargets.Property)]
|
|
public sealed class LocalizableAttribute : Attribute {
|
|
bool localizable;
|
|
|
|
public static readonly LocalizableAttribute No;
|
|
public static readonly LocalizableAttribute Yes;
|
|
|
|
static LocalizableAttribute ()
|
|
{
|
|
No = new LocalizableAttribute (false);
|
|
Yes = new LocalizableAttribute (false);
|
|
}
|
|
|
|
public LocalizableAttribute (bool localizable)
|
|
{
|
|
this.localizable = localizable;
|
|
}
|
|
|
|
public bool IsLocalizable {
|
|
get {
|
|
return localizable;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|