Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- oledbmetadatacollectionnames.cs
- IsolationInterop.cs
- DES.cs
- DefaultPropertyAttribute.cs
- HtmlAnchor.cs
- XmlSchemaSequence.cs
- XmlTypeAttribute.cs
- AmbientValueAttribute.cs
- iisPickupDirectory.cs
- GroupJoinQueryOperator.cs
- ExpressionBuilder.cs
- SplineKeyFrames.cs
- DropShadowBitmapEffect.cs
- CapabilitiesPattern.cs
- ConfigurationSection.cs
- MetafileHeader.cs
- TableLayoutPanelResizeGlyph.cs
- ApplicationSecurityManager.cs
- XmlTypeAttribute.cs
- MetadataItemEmitter.cs
- CharKeyFrameCollection.cs
- StateBag.cs
- COM2TypeInfoProcessor.cs
- SchemaElementLookUpTableEnumerator.cs
- DocumentXPathNavigator.cs
- ConcurrencyMode.cs
- DataGridViewColumnHeaderCell.cs
- CopyAction.cs
- COM2ExtendedTypeConverter.cs
- GridErrorDlg.cs
- ReadOnlyDictionary.cs
- SQLStringStorage.cs
- RTLAwareMessageBox.cs
- SoapObjectInfo.cs
- ColumnReorderedEventArgs.cs
- ContainerParagraph.cs
- EventItfInfo.cs
- SafeTimerHandle.cs
- DefaultWorkflowTransactionService.cs
- XsltLoader.cs
- TransactionBridgeSection.cs
- LinqDataSourceStatusEventArgs.cs
- sqlnorm.cs
- AdPostCacheSubstitution.cs
- MessageQueuePermission.cs
- MaterialCollection.cs
- DataSourceListEditor.cs
- XmlSequenceWriter.cs
- PropertyTab.cs
- GuidConverter.cs
- TypeSystem.cs
- _BaseOverlappedAsyncResult.cs
- ChtmlTextBoxAdapter.cs
- StateItem.cs
- Camera.cs
- X509Chain.cs
- EventMappingSettings.cs
- ContainerParagraph.cs
- QueryableDataSourceView.cs
- GroupBox.cs
- AncillaryOps.cs
- MenuItemBindingCollection.cs
- ClientRoleProvider.cs
- FixedSOMPageConstructor.cs
- FormsAuthenticationEventArgs.cs
- ColumnWidthChangedEvent.cs
- ParameterDataSourceExpression.cs
- SqlError.cs
- QueryableDataSourceHelper.cs
- DoubleLinkList.cs
- Size3DConverter.cs
- SqlCommandBuilder.cs
- TdsParameterSetter.cs
- SignedPkcs7.cs
- StringBuilder.cs
- DelegateBodyWriter.cs
- RectAnimationClockResource.cs
- XmlSchemaSimpleTypeRestriction.cs
- RSAProtectedConfigurationProvider.cs
- RoleManagerSection.cs
- InputLangChangeRequestEvent.cs
- SiteMapSection.cs
- DataGridViewAccessibleObject.cs
- Rect3D.cs
- SqlClientWrapperSmiStream.cs
- XsltException.cs
- ExceptionUtil.cs
- UpdateManifestForBrowserApplication.cs
- BasicViewGenerator.cs
- compensatingcollection.cs
- SqlUtil.cs
- ChannelProtectionRequirements.cs
- NativeMethodsCLR.cs
- CodeArrayIndexerExpression.cs
- ToolStripDropTargetManager.cs
- PackagePart.cs
- HostAdapter.cs
- DependencyPropertyValueSerializer.cs
- SystemWebSectionGroup.cs
- ComponentChangedEvent.cs