Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- VisualBasicDesignerHelper.cs
- PathSegmentCollection.cs
- BackgroundWorker.cs
- ConsumerConnectionPoint.cs
- GenericRootAutomationPeer.cs
- FileVersionInfo.cs
- Transform.cs
- RegexFCD.cs
- CharEntityEncoderFallback.cs
- HttpFileCollectionBase.cs
- PrivacyNoticeBindingElement.cs
- loginstatus.cs
- TcpDuplicateContext.cs
- PropagatorResult.cs
- UserUseLicenseDictionaryLoader.cs
- View.cs
- RadioButtonFlatAdapter.cs
- GlobalEventManager.cs
- CounterCreationData.cs
- SchemaTableOptionalColumn.cs
- LinqDataSourceDeleteEventArgs.cs
- InternalRelationshipCollection.cs
- FontSource.cs
- XmlDataLoader.cs
- filewebresponse.cs
- SqlDataSourceCommandParser.cs
- ToolStripManager.cs
- SafeLibraryHandle.cs
- WindowsTab.cs
- NativeMethods.cs
- UnaryNode.cs
- EntityContainerEntitySet.cs
- NetMsmqSecurityElement.cs
- HelpProvider.cs
- DebugInfoGenerator.cs
- assertwrapper.cs
- CheckBoxPopupAdapter.cs
- WebPartsPersonalization.cs
- SelectionBorderGlyph.cs
- XmlSchemaAnnotation.cs
- MinimizableAttributeTypeConverter.cs
- SQLBytes.cs
- Propagator.cs
- DbConnectionFactory.cs
- TreeViewHitTestInfo.cs
- Fonts.cs
- XNodeNavigator.cs
- ObjectIDGenerator.cs
- TemplateBindingExtensionConverter.cs
- CurrentTimeZone.cs
- ProxyBuilder.cs
- CheckPair.cs
- TextServicesDisplayAttributePropertyRanges.cs
- tibetanshape.cs
- Barrier.cs
- HtmlSelect.cs
- FunctionDescription.cs
- ProfilePropertyNameValidator.cs
- CodeStatement.cs
- WebPart.cs
- SplitterPanelDesigner.cs
- PeerChannelFactory.cs
- Faults.cs
- CodeSpit.cs
- RichTextBoxConstants.cs
- ReferencedType.cs
- ScrollEvent.cs
- ResourcePermissionBaseEntry.cs
- ReaderContextStackData.cs
- AssemblyAttributesGoHere.cs
- ResourceAssociationType.cs
- MulticastDelegate.cs
- HttpDebugHandler.cs
- Nodes.cs
- WebExceptionStatus.cs
- WebPartMinimizeVerb.cs
- ContainerTracking.cs
- CachedPathData.cs
- SqlInternalConnection.cs
- X509UI.cs
- TextDecorationCollection.cs
- SQLDateTimeStorage.cs
- InputLangChangeRequestEvent.cs
- WebPartChrome.cs
- SchemaTableOptionalColumn.cs
- DrawListViewSubItemEventArgs.cs
- TimeSpanSecondsConverter.cs
- TextTreeRootTextBlock.cs
- DataRowIndexBuffer.cs
- AccessDataSource.cs
- XmlBinaryReader.cs
- ItemCollectionEditor.cs
- ErasingStroke.cs
- ValidationService.cs
- IPCCacheManager.cs
- IfAction.cs
- EventArgs.cs
- MailAddress.cs
- UshortList2.cs
- ThicknessAnimation.cs