Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ListBindableAttribute.cs / 1305376 / ListBindableAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [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; } ///[To be supplied.] ////// public override int GetHashCode() { return base.GetHashCode(); } ////// Returns the hashcode for this object. /// ////// public override bool IsDefaultAttribute() { return (this.Equals(Default) || isDefault); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [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; } ///[To be supplied.] ////// public override int GetHashCode() { return base.GetHashCode(); } ////// Returns the hashcode for this object. /// ////// public override bool IsDefaultAttribute() { return (this.Equals(Default) || isDefault); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeFieldReferenceExpression.cs
- EntityCommandExecutionException.cs
- XmlAttribute.cs
- ModifyActivitiesPropertyDescriptor.cs
- Base64Stream.cs
- Documentation.cs
- X500Name.cs
- TableSectionStyle.cs
- LayoutEvent.cs
- Object.cs
- ListViewUpdateEventArgs.cs
- ZoomPercentageConverter.cs
- TextEditorDragDrop.cs
- SqlDataSource.cs
- EncryptRequest.cs
- Renderer.cs
- UIElement3D.cs
- AdCreatedEventArgs.cs
- SID.cs
- DesignerActionMethodItem.cs
- MimeTypeAttribute.cs
- Drawing.cs
- cryptoapiTransform.cs
- RoleGroupCollection.cs
- RangeValueProviderWrapper.cs
- XmlWellformedWriter.cs
- webbrowsersite.cs
- CodeSubDirectoriesCollection.cs
- DataGridRowHeaderAutomationPeer.cs
- ReliableChannelFactory.cs
- TypeForwardedToAttribute.cs
- NativeMethodsCLR.cs
- PingOptions.cs
- NotSupportedException.cs
- Calendar.cs
- EdmToObjectNamespaceMap.cs
- TextBox.cs
- CodeEntryPointMethod.cs
- SqlCacheDependency.cs
- WizardSideBarListControlItem.cs
- SignatureDescription.cs
- BaseContextMenu.cs
- KeyValueSerializer.cs
- SettingsContext.cs
- ObjectTag.cs
- WebResourceUtil.cs
- XmlReturnReader.cs
- WebReferencesBuildProvider.cs
- ConfigurationLocation.cs
- TableLayoutPanelCellPosition.cs
- MachinePropertyVariants.cs
- XmlSerializationReader.cs
- PathFigureCollection.cs
- DictionaryBase.cs
- TimerElapsedEvenArgs.cs
- NetStream.cs
- SymLanguageVendor.cs
- InvokeSchedule.cs
- JsonSerializer.cs
- XmlQualifiedName.cs
- RIPEMD160.cs
- XDeferredAxisSource.cs
- LineServicesRun.cs
- DelegatedStream.cs
- MessageQueuePermissionEntryCollection.cs
- DataGridSortCommandEventArgs.cs
- InputLanguageEventArgs.cs
- ToggleButtonAutomationPeer.cs
- X509SecurityTokenAuthenticator.cs
- PeerNameRecordCollection.cs
- TextTreeRootTextBlock.cs
- FactoryGenerator.cs
- InertiaTranslationBehavior.cs
- PixelShader.cs
- Debugger.cs
- ControlIdConverter.cs
- HeaderedContentControl.cs
- InputLanguage.cs
- GC.cs
- WebPartDisplayModeCancelEventArgs.cs
- ConnectionPoolRegistry.cs
- SiteMapNodeItem.cs
- Int32Collection.cs
- SQLDateTime.cs
- TextMetrics.cs
- CharKeyFrameCollection.cs
- Rectangle.cs
- TargetParameterCountException.cs
- UserControlBuildProvider.cs
- SimpleHandlerBuildProvider.cs
- ComponentDispatcher.cs
- HashHelpers.cs
- DirtyTextRange.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- SHA256Managed.cs
- SortFieldComparer.cs
- TypedReference.cs
- TableCellCollection.cs
- HwndSubclass.cs
- DoubleAnimationUsingKeyFrames.cs