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
- JoinQueryOperator.cs
- WmiInstallComponent.cs
- PersistencePipeline.cs
- TransformedBitmap.cs
- TextSimpleMarkerProperties.cs
- DataGridViewRowsRemovedEventArgs.cs
- SubpageParagraph.cs
- XmlSchemaExternal.cs
- ApplicationDirectoryMembershipCondition.cs
- CodeDOMUtility.cs
- Logging.cs
- DocumentSequence.cs
- DbDeleteCommandTree.cs
- ThreadStaticAttribute.cs
- XmlSchemaSimpleType.cs
- IISUnsafeMethods.cs
- EraserBehavior.cs
- ReliabilityContractAttribute.cs
- ObjectStorage.cs
- ComboBoxRenderer.cs
- XmlSchemaAnnotation.cs
- WebPartCloseVerb.cs
- OdbcEnvironmentHandle.cs
- SchemaElementLookUpTable.cs
- XPathParser.cs
- MachineSettingsSection.cs
- WebServiceData.cs
- DefaultAssemblyResolver.cs
- SubpageParagraph.cs
- SecurityTokenResolver.cs
- ListItemConverter.cs
- ConnectionStringsSection.cs
- SelectionRangeConverter.cs
- XmlDomTextWriter.cs
- SafeEventHandle.cs
- propertyentry.cs
- EntityParameter.cs
- QueuePropertyVariants.cs
- EdmError.cs
- FrameworkElementAutomationPeer.cs
- InternalBufferOverflowException.cs
- UrlAuthFailedErrorFormatter.cs
- DaylightTime.cs
- BackStopAuthenticationModule.cs
- TypeLibConverter.cs
- ContentTextAutomationPeer.cs
- _Semaphore.cs
- AssemblyNameProxy.cs
- SspiSafeHandles.cs
- ResourcePermissionBaseEntry.cs
- Conditional.cs
- RemotingSurrogateSelector.cs
- WorkflowTraceTransfer.cs
- CodeAttachEventStatement.cs
- NamespaceInfo.cs
- documentsequencetextpointer.cs
- HtmlEmptyTagControlBuilder.cs
- DelegatedStream.cs
- XPathSelfQuery.cs
- WebConfigurationHostFileChange.cs
- RegexWorker.cs
- DbParameterHelper.cs
- DependencySource.cs
- ListItemViewControl.cs
- ThicknessAnimation.cs
- HandlerMappingMemo.cs
- CodeGroup.cs
- util.cs
- RuntimeCompatibilityAttribute.cs
- EntityDesignerDataSourceView.cs
- DrawingContext.cs
- EventLogPermissionAttribute.cs
- WindowsStatusBar.cs
- StateMachineAction.cs
- ToolStripManager.cs
- ServiceNotStartedException.cs
- TextShapeableCharacters.cs
- SettingsPropertyWrongTypeException.cs
- UnitControl.cs
- documentsequencetextcontainer.cs
- HebrewCalendar.cs
- WindowsEditBoxRange.cs
- EntityCommand.cs
- PathSegmentCollection.cs
- EventMappingSettings.cs
- Selection.cs
- FaultContractInfo.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- WebPartConnectionsEventArgs.cs
- StreamGeometryContext.cs
- BufferedGraphicsManager.cs
- DockPattern.cs
- Slider.cs
- DescendantOverDescendantQuery.cs
- NetworkInformationPermission.cs
- ClipboardProcessor.cs
- IdnElement.cs
- TextBoxLine.cs
- COAUTHINFO.cs
- DeleteHelper.cs