Code:
/ FX-1434 / FX-1434 / 1.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; ////// [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); } } }[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EncoderExceptionFallback.cs
- Button.cs
- CryptoApi.cs
- ScalarConstant.cs
- SqlCacheDependencyDatabase.cs
- Quaternion.cs
- ButtonStandardAdapter.cs
- CodeCastExpression.cs
- KnownTypeDataContractResolver.cs
- ObjectDataSourceSelectingEventArgs.cs
- PeerNameRegistration.cs
- QueryResults.cs
- TextSyndicationContent.cs
- XmlDigitalSignatureProcessor.cs
- CommonObjectSecurity.cs
- EnumerableValidator.cs
- ScriptControl.cs
- AncillaryOps.cs
- Int32Storage.cs
- OleServicesContext.cs
- XPathParser.cs
- UpdateException.cs
- SmtpClient.cs
- XPathNodeInfoAtom.cs
- RootProfilePropertySettingsCollection.cs
- JsonUriDataContract.cs
- DocumentReference.cs
- DataGridViewButtonCell.cs
- XPathAncestorIterator.cs
- DBConcurrencyException.cs
- DefaultAsyncDataDispatcher.cs
- TimerExtension.cs
- DataServiceHostFactory.cs
- ListViewInsertEventArgs.cs
- WindowPattern.cs
- X509ClientCertificateAuthentication.cs
- COSERVERINFO.cs
- WebPartManager.cs
- ExtendedPropertiesHandler.cs
- AspNetSynchronizationContext.cs
- ConfigurationSettings.cs
- SafeCancelMibChangeNotify.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- FormParameter.cs
- MSAAWinEventWrap.cs
- NativeObjectSecurity.cs
- MatrixTransform3D.cs
- HttpInputStream.cs
- MemberHolder.cs
- TokenDescriptor.cs
- ColorConvertedBitmap.cs
- ProgressBarAutomationPeer.cs
- WebBrowserDocumentCompletedEventHandler.cs
- IisTraceWebEventProvider.cs
- TreeNodeMouseHoverEvent.cs
- EventsTab.cs
- FormViewUpdatedEventArgs.cs
- CellPartitioner.cs
- NumericUpDown.cs
- BufferBuilder.cs
- AssociationSetMetadata.cs
- ZoneLinkButton.cs
- _AuthenticationState.cs
- SqlClientMetaDataCollectionNames.cs
- ErrorHandler.cs
- JournalEntryListConverter.cs
- XmlSerializer.cs
- ProfileManager.cs
- OuterGlowBitmapEffect.cs
- TextLineBreak.cs
- DrawingGroup.cs
- HwndHost.cs
- ReferenceEqualityComparer.cs
- VBIdentifierDesigner.xaml.cs
- FileCodeGroup.cs
- ChineseLunisolarCalendar.cs
- linebase.cs
- OdbcUtils.cs
- CheckBoxPopupAdapter.cs
- InvalidCommandTreeException.cs
- AppDomainAttributes.cs
- AuthorizationRuleCollection.cs
- ToolStripPanelRenderEventArgs.cs
- PropertiesTab.cs
- ColorConvertedBitmap.cs
- RadioButton.cs
- EventLevel.cs
- SoapIgnoreAttribute.cs
- ConfigurationSectionGroup.cs
- CodeGotoStatement.cs
- EventDescriptor.cs
- SqlDataSourceStatusEventArgs.cs
- DataViewManager.cs
- FixedSchema.cs
- NonPrimarySelectionGlyph.cs
- FlowchartDesigner.xaml.cs
- ParseElementCollection.cs
- MetafileHeaderWmf.cs
- SqlDataSourceView.cs
- TimerElapsedEvenArgs.cs