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
- EncryptedKeyHashIdentifierClause.cs
- CancelAsyncOperationRequest.cs
- UpDownBaseDesigner.cs
- SystemColors.cs
- TabPage.cs
- AspProxy.cs
- BitmapEffectOutputConnector.cs
- NavigatorOutput.cs
- QuaternionAnimation.cs
- ProcessHostMapPath.cs
- PatternMatcher.cs
- QuaternionValueSerializer.cs
- FileSystemInfo.cs
- HyperlinkAutomationPeer.cs
- WrappedReader.cs
- ProxyHelper.cs
- TranslateTransform.cs
- PeerInvitationResponse.cs
- PageClientProxyGenerator.cs
- XmlSchemaAny.cs
- Int64Animation.cs
- Transactions.cs
- mediapermission.cs
- HtmlTableCellCollection.cs
- MaterialCollection.cs
- CollectionView.cs
- Point4D.cs
- RequiredAttributeAttribute.cs
- QueryOutputWriterV1.cs
- pingexception.cs
- EventDescriptor.cs
- DeclarativeCatalogPart.cs
- ObjectStateManager.cs
- ProcessModelSection.cs
- HttpHeaderCollection.cs
- ISAPIApplicationHost.cs
- SqlClientPermission.cs
- EarlyBoundInfo.cs
- CLRBindingWorker.cs
- ContextMarshalException.cs
- CalloutQueueItem.cs
- FixedBufferAttribute.cs
- StateElement.cs
- ListViewGroupItemCollection.cs
- ToolStripDropDownClosedEventArgs.cs
- EntitySetBase.cs
- uribuilder.cs
- ToolboxDataAttribute.cs
- HtmlInputText.cs
- Geometry.cs
- AttachedPropertyMethodSelector.cs
- XmlLanguageConverter.cs
- BehaviorService.cs
- OdbcPermission.cs
- ReliabilityContractAttribute.cs
- CodeThrowExceptionStatement.cs
- TextBoxLine.cs
- ControlBindingsCollection.cs
- CacheOutputQuery.cs
- Empty.cs
- ServicesUtilities.cs
- RadialGradientBrush.cs
- XmlElementAttribute.cs
- TableRow.cs
- LinearGradientBrush.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ResourceAttributes.cs
- IImplicitResourceProvider.cs
- TreeNodeEventArgs.cs
- CalendarItem.cs
- Processor.cs
- DiscoveryServerProtocol.cs
- ReadingWritingEntityEventArgs.cs
- InputLanguageManager.cs
- ToolStripPanelDesigner.cs
- ConfigXmlDocument.cs
- DataBindingValueUIHandler.cs
- FormatConvertedBitmap.cs
- AddressHeaderCollectionElement.cs
- TextDecorations.cs
- WebHttpSecurityModeHelper.cs
- SecureConversationDriver.cs
- FileUpload.cs
- Animatable.cs
- SequenceQuery.cs
- ToolStripItemClickedEventArgs.cs
- ObjectDataSourceView.cs
- EnumBuilder.cs
- Util.cs
- SafeRightsManagementSessionHandle.cs
- EntityKey.cs
- ImageButton.cs
- ContainerVisual.cs
- UserControlParser.cs
- _IPv6Address.cs
- FormatVersion.cs
- DataKey.cs
- PackagePart.cs
- AppLevelCompilationSectionCache.cs
- MetadataWorkspace.cs