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
- BinaryFormatterWriter.cs
- LineVisual.cs
- Tokenizer.cs
- DbConnectionInternal.cs
- Pair.cs
- RsaKeyIdentifierClause.cs
- OptimizerPatterns.cs
- HorizontalAlignConverter.cs
- EventQueueState.cs
- AnnotationComponentChooser.cs
- XmlCharCheckingReader.cs
- WindowsSolidBrush.cs
- IndexerNameAttribute.cs
- UInt16Converter.cs
- MenuItemStyleCollection.cs
- SqlTransaction.cs
- ParameterInfo.cs
- Page.cs
- TypeUtil.cs
- TagPrefixCollection.cs
- PointCollection.cs
- AutomationElement.cs
- SynchronizedInputAdaptor.cs
- HtmlInputImage.cs
- ConfigurationElementCollection.cs
- TransformedBitmap.cs
- DataGridCellInfo.cs
- FrameworkEventSource.cs
- DataColumnMapping.cs
- MoveSizeWinEventHandler.cs
- SQLMembershipProvider.cs
- Wizard.cs
- AnimationClock.cs
- XamlPoint3DCollectionSerializer.cs
- GroupStyle.cs
- UnsafeNativeMethods.cs
- QueryRewriter.cs
- RtfToXamlReader.cs
- PageContentCollection.cs
- X509Chain.cs
- DelegatingConfigHost.cs
- GlyphElement.cs
- SimpleTextLine.cs
- SplitContainer.cs
- StylusPointCollection.cs
- DesignerDataView.cs
- StringResourceManager.cs
- WaveHeader.cs
- ResourceAttributes.cs
- DiffuseMaterial.cs
- StatusBarPanelClickEvent.cs
- SqlGatherConsumedAliases.cs
- WindowProviderWrapper.cs
- DbModificationClause.cs
- HttpRequestCacheValidator.cs
- AccessDataSourceDesigner.cs
- CopyOfAction.cs
- GridLength.cs
- CodeValidator.cs
- odbcmetadatafactory.cs
- GroupItemAutomationPeer.cs
- ScrollEventArgs.cs
- MatrixTransform3D.cs
- ToolStripSystemRenderer.cs
- ResourcesChangeInfo.cs
- cookie.cs
- UInt64.cs
- FamilyCollection.cs
- X509Utils.cs
- DataSvcMapFileSerializer.cs
- DeploymentSection.cs
- NullableBoolConverter.cs
- SecurityContext.cs
- FixedTextSelectionProcessor.cs
- ScriptingWebServicesSectionGroup.cs
- WebPartDisplayModeCancelEventArgs.cs
- DefaultProxySection.cs
- DataListItemCollection.cs
- ToolBarOverflowPanel.cs
- AssemblyBuilderData.cs
- UnmanagedMemoryStreamWrapper.cs
- ADMembershipUser.cs
- FontFamilyValueSerializer.cs
- Vector3DAnimation.cs
- CategoryValueConverter.cs
- DataServiceHostFactory.cs
- TextRangeAdaptor.cs
- SecurityHeader.cs
- GenerateHelper.cs
- DBAsyncResult.cs
- UriExt.cs
- DynamicDataManager.cs
- DSASignatureDeformatter.cs
- RandomDelayQueuedSendsAsyncResult.cs
- LogicalExpressionTypeConverter.cs
- EntityDataSourceUtil.cs
- HealthMonitoringSection.cs
- DictionaryTraceRecord.cs
- DataGridViewLayoutData.cs
- TextAction.cs