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; ////// [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
- LinkGrep.cs
- LocationUpdates.cs
- Deserializer.cs
- WebScriptMetadataInstanceContextProvider.cs
- OLEDB_Util.cs
- Trigger.cs
- InkCanvasInnerCanvas.cs
- RootProfilePropertySettingsCollection.cs
- IdentityNotMappedException.cs
- DataObjectSettingDataEventArgs.cs
- DisplayNameAttribute.cs
- DataKeyPropertyAttribute.cs
- CodeDirectoryCompiler.cs
- PrintControllerWithStatusDialog.cs
- OpCodes.cs
- DataGridViewCellStyle.cs
- ApplyTemplatesAction.cs
- PeerResolverMode.cs
- TdsParser.cs
- DbMetaDataCollectionNames.cs
- shaperfactoryquerycacheentry.cs
- LOSFormatter.cs
- DocumentXPathNavigator.cs
- CheckBoxBaseAdapter.cs
- SourceSwitch.cs
- DbModificationCommandTree.cs
- ListBindableAttribute.cs
- ConversionHelper.cs
- SessionIDManager.cs
- ByteConverter.cs
- KeyNotFoundException.cs
- CompositeActivityCodeGenerator.cs
- TreeNodeCollectionEditor.cs
- XmlCountingReader.cs
- XmlValidatingReaderImpl.cs
- Delay.cs
- TcpChannelFactory.cs
- ScriptResourceAttribute.cs
- XmlBindingWorker.cs
- MetadataItemSerializer.cs
- WindowCollection.cs
- XmlObjectSerializerContext.cs
- OracleCommand.cs
- Utils.cs
- LoginUtil.cs
- SemaphoreSlim.cs
- ClockGroup.cs
- UICuesEvent.cs
- WriteableBitmap.cs
- TransformerConfigurationWizardBase.cs
- TransactionsSectionGroup.cs
- Tuple.cs
- CookieParameter.cs
- MatchingStyle.cs
- BookmarkInfo.cs
- Crypto.cs
- MetadataCacheItem.cs
- XPathAncestorIterator.cs
- AutoScrollExpandMessageFilter.cs
- HtmlProps.cs
- MediaSystem.cs
- ToolStripItemCollection.cs
- EntityRecordInfo.cs
- ServiceNameCollection.cs
- _Connection.cs
- InputLanguageProfileNotifySink.cs
- ContainerParaClient.cs
- ActivityDefaults.cs
- BitmapVisualManager.cs
- ISAPIApplicationHost.cs
- TaskForm.cs
- EntityContainer.cs
- ErrorHandler.cs
- TextWriterTraceListener.cs
- MatrixAnimationUsingKeyFrames.cs
- Normalizer.cs
- Block.cs
- DispatcherProcessingDisabled.cs
- ListViewItem.cs
- ConfigurationSectionGroupCollection.cs
- InkPresenterAutomationPeer.cs
- PrefixHandle.cs
- WebPartAuthorizationEventArgs.cs
- SamlNameIdentifierClaimResource.cs
- PriorityItem.cs
- AxisAngleRotation3D.cs
- Viewport3DVisual.cs
- SqlReorderer.cs
- ImageAttributes.cs
- AuthenticationModuleElementCollection.cs
- connectionpool.cs
- Resources.Designer.cs
- BindingSource.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- UpDownEvent.cs
- DataGridViewRow.cs
- RoutedUICommand.cs
- GeneralTransform3DCollection.cs
- XmlSchemaSimpleType.cs
- CreateParams.cs