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
- DynamicResourceExtensionConverter.cs
- HttpEncoder.cs
- WebBrowsableAttribute.cs
- DayRenderEvent.cs
- PatternMatcher.cs
- SimpleApplicationHost.cs
- ExtractorMetadata.cs
- QilCloneVisitor.cs
- ToolZone.cs
- DbFunctionCommandTree.cs
- BuildProvider.cs
- MetadataPropertyvalue.cs
- StorageScalarPropertyMapping.cs
- PathSegment.cs
- MD5CryptoServiceProvider.cs
- EntityStoreSchemaFilterEntry.cs
- TextSerializer.cs
- OpenTypeLayoutCache.cs
- FunctionNode.cs
- Identifier.cs
- WebPartAuthorizationEventArgs.cs
- DragStartedEventArgs.cs
- DataObjectFieldAttribute.cs
- PointAnimationUsingPath.cs
- ClientTargetSection.cs
- Identifier.cs
- CompositeScriptReference.cs
- ThicknessAnimationBase.cs
- Scheduler.cs
- KeysConverter.cs
- Hyperlink.cs
- ContentPropertyAttribute.cs
- SqlDataSourceTableQuery.cs
- XmlTextWriter.cs
- wgx_sdk_version.cs
- SctClaimDictionary.cs
- SrgsToken.cs
- Rule.cs
- ProcessManager.cs
- EncoderFallback.cs
- XmlName.cs
- TransactionInformation.cs
- ToolStripItemTextRenderEventArgs.cs
- invalidudtexception.cs
- AliasedSlot.cs
- ProfileService.cs
- ProxyAttribute.cs
- DoubleAnimationUsingPath.cs
- ModelUIElement3D.cs
- Parameter.cs
- PopupEventArgs.cs
- DataBoundControlParameterTarget.cs
- Mappings.cs
- Calendar.cs
- ValidationContext.cs
- RewritingPass.cs
- UInt32.cs
- XslAstAnalyzer.cs
- TypeElement.cs
- CacheSection.cs
- EdgeModeValidation.cs
- TreeWalkHelper.cs
- XmlParser.cs
- TreeNodeBinding.cs
- DesignerActionTextItem.cs
- Main.cs
- ToolStripComboBox.cs
- SystemIPGlobalProperties.cs
- XmlSortKey.cs
- RepeatInfo.cs
- CultureMapper.cs
- X509SecurityToken.cs
- ProfileProvider.cs
- SortableBindingList.cs
- SoapObjectWriter.cs
- shaperfactory.cs
- HttpVersion.cs
- AutomationElementIdentifiers.cs
- COM2ComponentEditor.cs
- ExpressionPrinter.cs
- ArrayWithOffset.cs
- UrlMappingCollection.cs
- VectorAnimationBase.cs
- ConstraintStruct.cs
- EventMappingSettingsCollection.cs
- HwndKeyboardInputProvider.cs
- LayoutEditorPart.cs
- MultiViewDesigner.cs
- Atom10FormatterFactory.cs
- ServiceNameElement.cs
- WebPartPersonalization.cs
- Dynamic.cs
- WebPartZone.cs
- CommandDesigner.cs
- TextRangeSerialization.cs
- ImageList.cs
- FormViewPagerRow.cs
- DataGridViewTopLeftHeaderCell.cs
- MaskInputRejectedEventArgs.cs
- SessionEndedEventArgs.cs