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
- BuildTopDownAttribute.cs
- BitmapMetadata.cs
- ModelVisual3D.cs
- RuntimeConfigurationRecord.cs
- updateconfighost.cs
- TextSearch.cs
- IPPacketInformation.cs
- PerformanceCounterPermissionEntryCollection.cs
- Timer.cs
- HttpListenerContext.cs
- JsonServiceDocumentSerializer.cs
- DateTimeOffsetStorage.cs
- MsmqQueue.cs
- HashAlgorithm.cs
- RowToParametersTransformer.cs
- TableLayoutRowStyleCollection.cs
- DSASignatureDeformatter.cs
- DateTime.cs
- WebPartDescriptionCollection.cs
- LinqDataSourceHelper.cs
- HwndSubclass.cs
- HttpHandlerActionCollection.cs
- MarshalByRefObject.cs
- EntityWrapperFactory.cs
- WebReferencesBuildProvider.cs
- DrawingVisualDrawingContext.cs
- FixedFlowMap.cs
- RecognizedPhrase.cs
- TemplateNameScope.cs
- AccessorTable.cs
- CounterSampleCalculator.cs
- DrawingContextWalker.cs
- KeyboardDevice.cs
- Rules.cs
- TimeManager.cs
- Selection.cs
- FrameworkContentElementAutomationPeer.cs
- WorkflowMessageEventHandler.cs
- XmlSchemaExporter.cs
- WindowsListViewGroup.cs
- DiscardableAttribute.cs
- ToolStripPanelRow.cs
- InputLanguageCollection.cs
- Drawing.cs
- ConnectionStringsExpressionBuilder.cs
- Range.cs
- CompressedStack.cs
- WindowsGraphics.cs
- ControlBuilder.cs
- relpropertyhelper.cs
- TemplateAction.cs
- XmlSchemaAll.cs
- TextBreakpoint.cs
- SqlCacheDependencyDatabaseCollection.cs
- SimpleBitVector32.cs
- OleDbWrapper.cs
- PageWrapper.cs
- BrowserCapabilitiesCompiler.cs
- PieceDirectory.cs
- ConstraintConverter.cs
- WebSysDescriptionAttribute.cs
- _FixedSizeReader.cs
- Error.cs
- DataColumnSelectionConverter.cs
- MonthChangedEventArgs.cs
- Animatable.cs
- _NtlmClient.cs
- elementinformation.cs
- EdmToObjectNamespaceMap.cs
- WindowInteractionStateTracker.cs
- PeerNameResolver.cs
- SqlRowUpdatingEvent.cs
- BamlReader.cs
- UnitySerializationHolder.cs
- HostedAspNetEnvironment.cs
- ProcessThreadCollection.cs
- CaseKeyBox.ViewModel.cs
- LocalizationComments.cs
- KeyGestureValueSerializer.cs
- RootCodeDomSerializer.cs
- dataSvcMapFileLoader.cs
- DefaultProxySection.cs
- InputReportEventArgs.cs
- LookupNode.cs
- DocumentEventArgs.cs
- SmiMetaDataProperty.cs
- WebPartActionVerb.cs
- Misc.cs
- ToolStripPanel.cs
- CodeTryCatchFinallyStatement.cs
- xsdvalidator.cs
- ObjectReferenceStack.cs
- SchemaTableOptionalColumn.cs
- FontFamily.cs
- Array.cs
- Hashtable.cs
- Delegate.cs
- ProcessModelInfo.cs
- DataGridHelper.cs
- IdentifierService.cs