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
- CharEnumerator.cs
- PrintPreviewGraphics.cs
- CustomCategoryAttribute.cs
- IgnoreDeviceFilterElement.cs
- PeerNameRegistration.cs
- PackagePart.cs
- WebEncodingValidator.cs
- ServiceOperationInvoker.cs
- LogArchiveSnapshot.cs
- DecimalFormatter.cs
- FilteredSchemaElementLookUpTable.cs
- BorderGapMaskConverter.cs
- RectangleGeometry.cs
- CacheEntry.cs
- HttpRuntimeSection.cs
- ConfigurationManagerHelper.cs
- DesignerActionItemCollection.cs
- Unit.cs
- ChildChangedEventArgs.cs
- PrintPreviewControl.cs
- VarRemapper.cs
- DateTimeUtil.cs
- ProxyWebPartManager.cs
- WindowsGraphics.cs
- DocumentPageViewAutomationPeer.cs
- WaitingCursor.cs
- ReadOnlyDictionary.cs
- CultureInfoConverter.cs
- PackWebResponse.cs
- OverlappedAsyncResult.cs
- SimpleTypeResolver.cs
- Substitution.cs
- WebBrowserSiteBase.cs
- ConstructorExpr.cs
- WizardPanel.cs
- odbcmetadatacollectionnames.cs
- EventItfInfo.cs
- HwndHost.cs
- RoleExceptions.cs
- StylusButton.cs
- Oid.cs
- DataGridItemCollection.cs
- QilStrConcat.cs
- HwndSource.cs
- LinkedResourceCollection.cs
- ToolboxComponentsCreatedEventArgs.cs
- SmtpCommands.cs
- SqlTriggerAttribute.cs
- Compiler.cs
- CommunicationObjectManager.cs
- Constraint.cs
- HttpCapabilitiesEvaluator.cs
- DiscoveryExceptionDictionary.cs
- WebPartHeaderCloseVerb.cs
- EdmItemCollection.OcAssemblyCache.cs
- HopperCache.cs
- PKCS1MaskGenerationMethod.cs
- SafeHandle.cs
- AsyncPostBackTrigger.cs
- XmlStreamStore.cs
- PropertyConverter.cs
- SSmlParser.cs
- XmlSchemaAttributeGroup.cs
- InstanceDataCollectionCollection.cs
- ClientSettingsSection.cs
- OleDbParameter.cs
- PartitionerStatic.cs
- UniqueIdentifierService.cs
- KeyEvent.cs
- XmlHelper.cs
- CommandEventArgs.cs
- CodeDomSerializerException.cs
- CodeAttachEventStatement.cs
- InternalSafeNativeMethods.cs
- HandleExceptionArgs.cs
- ImageKeyConverter.cs
- NamespaceQuery.cs
- XamlTreeBuilderBamlRecordWriter.cs
- DynamicPropertyReader.cs
- DataGridViewComponentPropertyGridSite.cs
- DbXmlEnabledProviderManifest.cs
- ScrollableControl.cs
- objectresult_tresulttype.cs
- GridViewRowCollection.cs
- CollectionBuilder.cs
- HMACSHA384.cs
- ButtonColumn.cs
- DataGridViewCheckBoxColumn.cs
- DetailsViewModeEventArgs.cs
- ParentUndoUnit.cs
- StrokeNodeOperations2.cs
- EditorZone.cs
- AttributeUsageAttribute.cs
- ClickablePoint.cs
- TransactionFlowElement.cs
- _HelperAsyncResults.cs
- DocumentOrderQuery.cs
- SessionSwitchEventArgs.cs
- Brush.cs
- UnsafeNativeMethods.cs