Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ListBindableAttribute.cs / 1305376 / 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.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Exception.cs
- HtmlElementCollection.cs
- MetadataException.cs
- VisualProxy.cs
- BitmapEffectrendercontext.cs
- TypeKeyValue.cs
- ProgressPage.cs
- WCFServiceClientProxyGenerator.cs
- HealthMonitoringSectionHelper.cs
- PersonalizationProviderCollection.cs
- StrokeCollection.cs
- DoubleLinkList.cs
- InstanceData.cs
- TreeViewImageIndexConverter.cs
- AnnotationService.cs
- ActionMismatchAddressingException.cs
- XmlDataSourceView.cs
- DataGridViewComboBoxCell.cs
- AssociationEndMember.cs
- GradientStopCollection.cs
- ConfigurationLockCollection.cs
- DataGridColumn.cs
- TemplateBuilder.cs
- ConfigurationErrorsException.cs
- PerfService.cs
- ErasingStroke.cs
- XPathArrayIterator.cs
- _BasicClient.cs
- PrintDialog.cs
- RuntimeEnvironment.cs
- TabControlCancelEvent.cs
- TreeViewImageGenerator.cs
- DataControlImageButton.cs
- CodeMemberMethod.cs
- Visual.cs
- ReliableDuplexSessionChannel.cs
- RegistryPermission.cs
- Hyperlink.cs
- RequestCache.cs
- Touch.cs
- BaseCAMarshaler.cs
- MachineKeyConverter.cs
- MappedMetaModel.cs
- ListViewDeletedEventArgs.cs
- DbSetClause.cs
- Schema.cs
- DragEventArgs.cs
- LassoHelper.cs
- OpCodes.cs
- FrugalList.cs
- ChildTable.cs
- ProfilePropertySettingsCollection.cs
- RegistrySecurity.cs
- ProviderBase.cs
- AddingNewEventArgs.cs
- _SslState.cs
- BlockCollection.cs
- BasePattern.cs
- ContentIterators.cs
- GridEntry.cs
- DataFormats.cs
- WebServiceData.cs
- _CacheStreams.cs
- ResourceReferenceExpression.cs
- GlyphElement.cs
- CreateUserErrorEventArgs.cs
- PinnedBufferMemoryStream.cs
- AnonymousIdentificationModule.cs
- CodeStatement.cs
- HwndStylusInputProvider.cs
- CodePropertyReferenceExpression.cs
- TextLine.cs
- ListSourceHelper.cs
- DbDataRecord.cs
- VirtualDirectoryMappingCollection.cs
- CompositeKey.cs
- SplayTreeNode.cs
- Latin1Encoding.cs
- MimeTypeMapper.cs
- Listbox.cs
- ConstraintConverter.cs
- Identity.cs
- FocusTracker.cs
- SafeEventLogReadHandle.cs
- SchemaNotation.cs
- DataServiceClientException.cs
- EventToken.cs
- TraceLog.cs
- TextEditorMouse.cs
- mactripleDES.cs
- WebPart.cs
- InternalMappingException.cs
- StrongNameIdentityPermission.cs
- TemplatedAdorner.cs
- IIS7WorkerRequest.cs
- PathFigureCollection.cs
- UserValidatedEventArgs.cs
- PngBitmapEncoder.cs
- ToolBar.cs
- CustomTypeDescriptor.cs