Code:
/ 4.0 / 4.0 / 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.] ///// 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
- XsdDuration.cs
- RadioButtonPopupAdapter.cs
- Pair.cs
- ExportOptions.cs
- CollectionEditVerbManager.cs
- Double.cs
- EnumerableCollectionView.cs
- UnicodeEncoding.cs
- Rfc2898DeriveBytes.cs
- RoutingService.cs
- XmlILIndex.cs
- ContainerParagraph.cs
- RemoteWebConfigurationHostStream.cs
- NetworkStream.cs
- TraceContextEventArgs.cs
- ComponentResourceManager.cs
- GridItemPattern.cs
- ReflectionServiceProvider.cs
- Calendar.cs
- RequestQueue.cs
- MouseDevice.cs
- SystemException.cs
- _ChunkParse.cs
- Span.cs
- SelectionItemPattern.cs
- RegexWorker.cs
- XPathConvert.cs
- XmlIncludeAttribute.cs
- CompilationPass2Task.cs
- ActivationServices.cs
- KeysConverter.cs
- Panel.cs
- fixedPageContentExtractor.cs
- DefaultCompensation.cs
- ByteFacetDescriptionElement.cs
- DataTemplate.cs
- WorkflowViewService.cs
- Registry.cs
- SponsorHelper.cs
- StandardToolWindows.cs
- AlgoModule.cs
- HttpContextServiceHost.cs
- Material.cs
- BaseWebProxyFinder.cs
- DataSourceControlBuilder.cs
- UnsafeNativeMethods.cs
- ClientTargetCollection.cs
- WorkflowStateRollbackService.cs
- TimeSpanStorage.cs
- GroupedContextMenuStrip.cs
- FontStyleConverter.cs
- OdbcRowUpdatingEvent.cs
- X509RawDataKeyIdentifierClause.cs
- OracleException.cs
- SizeLimitedCache.cs
- DataTableTypeConverter.cs
- ViewLoader.cs
- BufferAllocator.cs
- CultureSpecificCharacterBufferRange.cs
- WebUtil.cs
- PrinterResolution.cs
- WindowsSolidBrush.cs
- StreamGeometry.cs
- DataGridViewColumn.cs
- ControlDesigner.cs
- Vector3DValueSerializer.cs
- WebServiceHostFactory.cs
- CultureData.cs
- ServiceThrottlingBehavior.cs
- SpeechRecognizer.cs
- EditingCoordinator.cs
- BufferAllocator.cs
- CodeIndexerExpression.cs
- Visual3D.cs
- DispatcherSynchronizationContext.cs
- SymmetricSecurityBindingElement.cs
- FixedSOMPageElement.cs
- XPathNodeIterator.cs
- XsdDateTime.cs
- UInt64.cs
- Column.cs
- DoubleAnimation.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- DatagridviewDisplayedBandsData.cs
- DynamicRendererThreadManager.cs
- DataObject.cs
- EventManager.cs
- SortQueryOperator.cs
- TextShapeableCharacters.cs
- OperandQuery.cs
- XdrBuilder.cs
- VolatileResourceManager.cs
- XamlReaderConstants.cs
- ThumbAutomationPeer.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- GeneralTransform3D.cs
- NativeCompoundFileAPIs.cs
- MemoryStream.cs
- IgnoreDeviceFilterElementCollection.cs
- X500Name.cs