Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; ////// [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
- MD5.cs
- PropertyGroupDescription.cs
- NavigationExpr.cs
- Int16Converter.cs
- SafeFileMappingHandle.cs
- MouseButtonEventArgs.cs
- AlphaSortedEnumConverter.cs
- WebPartZoneBase.cs
- HyperlinkAutomationPeer.cs
- ZipIOFileItemStream.cs
- ManipulationStartingEventArgs.cs
- DBParameter.cs
- HtmlImage.cs
- CollectionsUtil.cs
- ReaderOutput.cs
- HierarchicalDataBoundControlAdapter.cs
- Vector3DCollectionConverter.cs
- DetailsViewRowCollection.cs
- ProxyHelper.cs
- ComPersistableTypeElementCollection.cs
- ActivationServices.cs
- FontFamilyIdentifier.cs
- SqlOuterApplyReducer.cs
- PeerUnsafeNativeMethods.cs
- XmlChildEnumerator.cs
- AuthenticateEventArgs.cs
- Size3D.cs
- WSHttpSecurityElement.cs
- XmlCharType.cs
- baseaxisquery.cs
- BindingOperations.cs
- Win32Native.cs
- DoubleAnimationUsingPath.cs
- IList.cs
- CollectionViewGroup.cs
- RawStylusSystemGestureInputReport.cs
- StaticTextPointer.cs
- AuthenticationModuleElementCollection.cs
- Decorator.cs
- Point3DCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- RC2.cs
- Visual3DCollection.cs
- AstNode.cs
- LayoutTableCell.cs
- Page.cs
- UIElement.cs
- AmbientValueAttribute.cs
- XmlRawWriterWrapper.cs
- Parameter.cs
- ContextDataSourceView.cs
- InitializerFacet.cs
- _UncName.cs
- HttpWriter.cs
- Parsers.cs
- RenderOptions.cs
- GC.cs
- BindingBase.cs
- SafeNativeMethods.cs
- ViewEvent.cs
- DebuggerAttributes.cs
- CodeBinaryOperatorExpression.cs
- UriPrefixTable.cs
- GlobalizationAssembly.cs
- MenuStrip.cs
- PerformanceCounter.cs
- RouteItem.cs
- keycontainerpermission.cs
- WSSecurityPolicy12.cs
- Misc.cs
- BaseTemplateBuildProvider.cs
- DataGridTextColumn.cs
- DesignTimeVisibleAttribute.cs
- MouseActionValueSerializer.cs
- InvalidDataContractException.cs
- TextParaClient.cs
- LocalizedNameDescriptionPair.cs
- ResourceExpressionEditorSheet.cs
- PageThemeBuildProvider.cs
- followingquery.cs
- Model3D.cs
- UnsafeNativeMethods.cs
- EntityStoreSchemaFilterEntry.cs
- Rotation3DAnimation.cs
- MailAddressCollection.cs
- DataListItemEventArgs.cs
- FileInfo.cs
- WmlPhoneCallAdapter.cs
- RestClientProxyHandler.cs
- CreateUserErrorEventArgs.cs
- CancellableEnumerable.cs
- AsymmetricKeyExchangeFormatter.cs
- QilNode.cs
- XPathSelfQuery.cs
- EnumValAlphaComparer.cs
- CodeStatement.cs
- NavigationProgressEventArgs.cs
- ValueConversionAttribute.cs
- DoubleKeyFrameCollection.cs
- StringBlob.cs