mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* TypeConverter.cs: Added new stubbs
* BindableAttribute.cs: Added
* BindableSupport.cs: Added
* NotifyParentPropertyAttribute.cs: Added
* ExpandableObjectConverter.cs: Added
svn path=/trunk/mcs/; revision=6053
72 lines
1.3 KiB
C#
Executable File
72 lines
1.3 KiB
C#
Executable File
//
|
|
// System.ComponentModel.BindableAttribute.cs
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2002
|
|
//
|
|
//
|
|
|
|
namespace System.ComponentModel {
|
|
[AttributeUsage (AttributeTargets.All)]
|
|
public sealed class BindableAttribute : Attribute {
|
|
|
|
#region Fields
|
|
|
|
BindableSupport flags;
|
|
bool bindable;
|
|
|
|
#endregion // Fields
|
|
|
|
public static readonly BindableAttribute No = new BindableAttribute (BindableSupport.No);
|
|
public static readonly BindableAttribute Yes = new BindableAttribute (BindableSupport.Yes);
|
|
public static readonly BindableAttribute Default = new BindableAttribute (BindableSupport.Default);
|
|
|
|
#region Constructors
|
|
|
|
public BindableAttribute (BindableSupport flags)
|
|
{
|
|
this.flags = flags;
|
|
this.bindable = false;
|
|
}
|
|
|
|
public BindableAttribute (bool bindable)
|
|
{
|
|
this.bindable = bindable;
|
|
}
|
|
|
|
#endregion // Constructors
|
|
|
|
#region Properties
|
|
|
|
public bool Bindable {
|
|
get { return bindable; }
|
|
}
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
[MonoTODO]
|
|
public override bool Equals (object obj)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override int GetHashCode ()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override bool IsDefaultAttribute ()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
#endregion // Methods
|
|
}
|
|
}
|