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
- InvalidWMPVersionException.cs
- ExceptionUtility.cs
- ValueOfAction.cs
- TextRangeProviderWrapper.cs
- ProviderCollection.cs
- HtmlControlPersistable.cs
- TemplateBindingExpression.cs
- ClockGroup.cs
- GraphicsContainer.cs
- DesignerDataView.cs
- XPathNodePointer.cs
- ChangesetResponse.cs
- Action.cs
- DBAsyncResult.cs
- DBConnectionString.cs
- OptimizerPatterns.cs
- DocumentOrderQuery.cs
- ChtmlImageAdapter.cs
- CodePrimitiveExpression.cs
- _NTAuthentication.cs
- PerfProviderCollection.cs
- ObjectHandle.cs
- ProfileModule.cs
- ProxyWebPartManager.cs
- Label.cs
- ApplicationBuildProvider.cs
- ProxyFragment.cs
- EncoderParameters.cs
- Size3D.cs
- SpeechRecognitionEngine.cs
- ComponentCache.cs
- RewritingSimplifier.cs
- ArrayEditor.cs
- StickyNoteAnnotations.cs
- assertwrapper.cs
- ExpressionBindingsDialog.cs
- CreateBookmarkScope.cs
- ScriptResourceHandler.cs
- DoubleLinkList.cs
- GPRECTF.cs
- TextSchema.cs
- AppliedDeviceFiltersDialog.cs
- PageFunction.cs
- WebBrowserContainer.cs
- ResourceManagerWrapper.cs
- ProcessHostServerConfig.cs
- SQLCharsStorage.cs
- CustomLineCap.cs
- ToolboxItemAttribute.cs
- ColumnMapTranslator.cs
- TextTrailingWordEllipsis.cs
- TextEmbeddedObject.cs
- DSACryptoServiceProvider.cs
- Adorner.cs
- ConcatQueryOperator.cs
- StickyNoteHelper.cs
- FactoryId.cs
- BackStopAuthenticationModule.cs
- SQLGuidStorage.cs
- ArgIterator.cs
- errorpatternmatcher.cs
- Keywords.cs
- PathParser.cs
- TemplateBindingExtensionConverter.cs
- ProviderUtil.cs
- MetabaseServerConfig.cs
- MeasurementDCInfo.cs
- SrgsSemanticInterpretationTag.cs
- BuildProviderCollection.cs
- TextViewSelectionProcessor.cs
- ISFTagAndGuidCache.cs
- DelegatingHeader.cs
- DefaultHttpHandler.cs
- DataSourceCacheDurationConverter.cs
- ThreadStaticAttribute.cs
- MaskInputRejectedEventArgs.cs
- BufferedOutputAsyncStream.cs
- ConfigPathUtility.cs
- dbdatarecord.cs
- DataGridViewComboBoxColumn.cs
- GridSplitter.cs
- ipaddressinformationcollection.cs
- XmlnsDictionary.cs
- SymbolDocumentInfo.cs
- AssociationSetEnd.cs
- Rules.cs
- ServerIdentity.cs
- Funcletizer.cs
- CodeMemberEvent.cs
- IPHostEntry.cs
- SqlDataSourceView.cs
- DynamicPropertyHolder.cs
- GregorianCalendarHelper.cs
- InvokeProviderWrapper.cs
- _DigestClient.cs
- CorrelationScope.cs
- DataSourceView.cs
- UserInitiatedNavigationPermission.cs
- HtmlUtf8RawTextWriter.cs
- DataControlReference.cs