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
- _UncName.cs
- ToRequest.cs
- InputLangChangeRequestEvent.cs
- ErrorInfoXmlDocument.cs
- HandlerFactoryCache.cs
- EntityDataSourceWrapper.cs
- Registry.cs
- ReadContentAsBinaryHelper.cs
- CriticalExceptions.cs
- CssStyleCollection.cs
- Operand.cs
- SqlConnectionStringBuilder.cs
- Rule.cs
- EntityDataSourceContextDisposingEventArgs.cs
- CodeDefaultValueExpression.cs
- BinaryObjectReader.cs
- RequestQueue.cs
- RegexCode.cs
- TextRangeSerialization.cs
- SelectorAutomationPeer.cs
- PrtCap_Public.cs
- Process.cs
- SkewTransform.cs
- Switch.cs
- SQLBinaryStorage.cs
- RequestedSignatureDialog.cs
- ProcessProtocolHandler.cs
- DependencyObjectType.cs
- TimeSpanStorage.cs
- DependencyPropertyValueSerializer.cs
- XmlnsCache.cs
- DescendantOverDescendantQuery.cs
- NavigationEventArgs.cs
- XmlMtomReader.cs
- HtmlEncodedRawTextWriter.cs
- RuleSettingsCollection.cs
- _ProxyChain.cs
- ToolStripScrollButton.cs
- DesignerForm.cs
- XmlEncodedRawTextWriter.cs
- EventLog.cs
- EmbeddedMailObjectsCollection.cs
- DrawingAttributeSerializer.cs
- CompositeControl.cs
- DateTimeParse.cs
- StylusDownEventArgs.cs
- DataIdProcessor.cs
- PropertyChangedEventArgs.cs
- StreamResourceInfo.cs
- ConnectionsZone.cs
- Enum.cs
- XmlSerializerSection.cs
- TextParaLineResult.cs
- SelectionWordBreaker.cs
- ListBindingHelper.cs
- SocketPermission.cs
- UnicodeEncoding.cs
- Trace.cs
- FixedPageStructure.cs
- LayoutDump.cs
- ExceptionNotification.cs
- HitTestFilterBehavior.cs
- XmlSerializerFormatAttribute.cs
- ParameterCollection.cs
- HtmlElementErrorEventArgs.cs
- JsonWriterDelegator.cs
- OdbcException.cs
- FixedFindEngine.cs
- ConsumerConnectionPointCollection.cs
- Geometry.cs
- DataRecordObjectView.cs
- HuffmanTree.cs
- ProfilePropertySettingsCollection.cs
- ColorConvertedBitmapExtension.cs
- ItemList.cs
- GeometryHitTestResult.cs
- RightsManagementPermission.cs
- ActivityBuilder.cs
- ECDiffieHellmanPublicKey.cs
- Vector3DValueSerializer.cs
- HeaderCollection.cs
- SqlNodeTypeOperators.cs
- TemplateControl.cs
- SqlGenericUtil.cs
- SequentialOutput.cs
- CodeSnippetStatement.cs
- EditorBrowsableAttribute.cs
- SamlConstants.cs
- ListSortDescriptionCollection.cs
- SaveFileDialog.cs
- MetaModel.cs
- PackWebResponse.cs
- ScaleTransform.cs
- DataControlPagerLinkButton.cs
- Storyboard.cs
- ForceCopyBuildProvider.cs
- XmlWriterSettings.cs
- InputGestureCollection.cs
- NativeMethodsOther.cs
- Enum.cs