Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / ListBindableAttribute.cs / 1 / ListBindableAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel {
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Security.Permissions;
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.All)]
public sealed class ListBindableAttribute : Attribute {
///
/// [To be supplied.]
///
public static readonly ListBindableAttribute Yes = new ListBindableAttribute(true);
///
/// [To be supplied.]
///
public static readonly ListBindableAttribute No = new ListBindableAttribute(false);
///
/// [To be supplied.]
///
public static readonly ListBindableAttribute Default = Yes;
private bool listBindable = false;
private bool isDefault = false;
///
/// [To be supplied.]
///
public ListBindableAttribute(bool listBindable) {
this.listBindable = listBindable;
}
///
/// [To be supplied.]
///
public ListBindableAttribute(BindableSupport flags) {
this.listBindable = (flags != BindableSupport.No);
this.isDefault = (flags == BindableSupport.Default);
}
///
/// [To be supplied.]
///
public bool ListBindable {
get {
return listBindable;
}
}
///
/// [To be supplied.]
///
public override bool Equals(object obj) {
if (obj == this) {
return true;
}
ListBindableAttribute other = obj as ListBindableAttribute;
return other != null && other.ListBindable == listBindable;
}
///
///
/// Returns the hashcode for this object.
///
///
public override int GetHashCode() {
return base.GetHashCode();
}
///
/// [To be supplied.]
///
public override bool IsDefaultAttribute() {
return (this.Equals(Default) || isDefault);
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TraceHandlerErrorFormatter.cs
- ReversePositionQuery.cs
- OciLobLocator.cs
- DiscoveryRequestHandler.cs
- wgx_sdk_version.cs
- ResourcesBuildProvider.cs
- ClientUtils.cs
- DataSysAttribute.cs
- ConnectionPointGlyph.cs
- ManagedFilter.cs
- SqlInfoMessageEvent.cs
- HtmlHistory.cs
- EntityModelBuildProvider.cs
- ToolStripManager.cs
- PersonalizationStateInfoCollection.cs
- Comparer.cs
- InputLanguageSource.cs
- ComboBoxAutomationPeer.cs
- SqlTriggerContext.cs
- TextStore.cs
- GuidTagList.cs
- Reference.cs
- SystemColors.cs
- LingerOption.cs
- WpfKnownTypeInvoker.cs
- HorizontalAlignConverter.cs
- FileLoadException.cs
- PortCache.cs
- HtmlTableRow.cs
- DocumentProperties.cs
- UpdateRecord.cs
- InputScopeNameConverter.cs
- SHA1Managed.cs
- StateManagedCollection.cs
- EntitySetBase.cs
- TdsRecordBufferSetter.cs
- TimeSpanStorage.cs
- X509Utils.cs
- AsyncContentLoadedEventArgs.cs
- Group.cs
- WindowsUpDown.cs
- Console.cs
- PictureBox.cs
- ListSourceHelper.cs
- DefaultShape.cs
- VariableQuery.cs
- RoutedPropertyChangedEventArgs.cs
- SchemaImporterExtensionElementCollection.cs
- PageContentCollection.cs
- ButtonChrome.cs
- ListBoxChrome.cs
- NamespaceInfo.cs
- Perspective.cs
- WebPartDisplayModeCollection.cs
- PixelShader.cs
- SynchronizedDispatch.cs
- ReservationCollection.cs
- RoleGroupCollection.cs
- FixedSOMLineRanges.cs
- XmlILConstructAnalyzer.cs
- SapiInterop.cs
- RowCache.cs
- SubMenuStyle.cs
- XmlAttributeCollection.cs
- ProtocolImporter.cs
- FunctionImportElement.cs
- DropTarget.cs
- RectKeyFrameCollection.cs
- PointUtil.cs
- DocumentScope.cs
- DataGridViewButtonCell.cs
- SQLBytesStorage.cs
- HostingEnvironment.cs
- BuilderPropertyEntry.cs
- WebPartConnectVerb.cs
- DictionarySurrogate.cs
- DispatcherProcessingDisabled.cs
- Token.cs
- HatchBrush.cs
- UriSection.cs
- OdbcFactory.cs
- PageContentCollection.cs
- Tuple.cs
- MemoryStream.cs
- OleTxTransaction.cs
- ToolboxItemCollection.cs
- DbDataRecord.cs
- SolidColorBrush.cs
- OdbcPermission.cs
- XmlSchemaComplexContent.cs
- Code.cs
- SqlCharStream.cs
- ServiceMetadataExtension.cs
- ThicknessKeyFrameCollection.cs
- Evidence.cs
- WasHostedComPlusFactory.cs
- CursorConverter.cs
- Literal.cs
- BitmapDecoder.cs
- SystemIPInterfaceProperties.cs