Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } }[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SamlAuthorizationDecisionClaimResource.cs
- MailWriter.cs
- ExpressionNormalizer.cs
- ExpressionVisitor.cs
- HttpListener.cs
- OpCodes.cs
- ObjectDataSourceMethodEventArgs.cs
- DataSpaceManager.cs
- TextAction.cs
- Transform.cs
- SourceInterpreter.cs
- CfgParser.cs
- PasswordDeriveBytes.cs
- SystemIPv4InterfaceProperties.cs
- SafeTimerHandle.cs
- TreeViewImageIndexConverter.cs
- ListViewAutomationPeer.cs
- LookupNode.cs
- ObjectDisposedException.cs
- InvalidOleVariantTypeException.cs
- XmlTextReaderImplHelpers.cs
- XmlEncoding.cs
- GeneralTransform.cs
- ServicePoint.cs
- StringInfo.cs
- XmlDataSourceView.cs
- StandardCommandToolStripMenuItem.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- FixedDocumentSequencePaginator.cs
- DataServiceContext.cs
- DataBindEngine.cs
- SafeFindHandle.cs
- KeyNameIdentifierClause.cs
- serverconfig.cs
- WebRequestModuleElement.cs
- DisplayNameAttribute.cs
- DataGridAutoFormat.cs
- IgnoreFlushAndCloseStream.cs
- FormatConvertedBitmap.cs
- AppDomainUnloadedException.cs
- Literal.cs
- MouseBinding.cs
- SimpleFileLog.cs
- ClientConfigurationHost.cs
- PropertyPathConverter.cs
- TextServicesCompartmentEventSink.cs
- GridItem.cs
- CaseInsensitiveHashCodeProvider.cs
- ConfigurationManager.cs
- Geometry3D.cs
- PtsPage.cs
- CustomWebEventKey.cs
- SafeThemeHandle.cs
- Button.cs
- StreamReader.cs
- TypeUnloadedException.cs
- ChannelManagerHelpers.cs
- SystemIPGlobalProperties.cs
- BrowserCapabilitiesFactory.cs
- RegexInterpreter.cs
- DataGridViewImageColumn.cs
- InboundActivityHelper.cs
- TypeInfo.cs
- GridEntryCollection.cs
- ButtonFieldBase.cs
- ScriptModule.cs
- IssuedTokenClientCredential.cs
- RegistrationServices.cs
- SpeakInfo.cs
- SafeMILHandleMemoryPressure.cs
- XmlEncodedRawTextWriter.cs
- WebScriptEnablingBehavior.cs
- ConditionChanges.cs
- SecurityToken.cs
- ConvertEvent.cs
- HostUtils.cs
- GiveFeedbackEvent.cs
- CompilerWrapper.cs
- LocatorBase.cs
- ServiceModelInstallComponent.cs
- TimeStampChecker.cs
- GridViewRowPresenter.cs
- OleDbEnumerator.cs
- SiteMapDataSource.cs
- SafeLibraryHandle.cs
- ColorInterpolationModeValidation.cs
- List.cs
- HtmlHistory.cs
- _NTAuthentication.cs
- PackagePartCollection.cs
- DataBoundControl.cs
- Permission.cs
- ResourcesChangeInfo.cs
- TimeoutException.cs
- CharStorage.cs
- XmlSerializableServices.cs
- SqlHelper.cs
- EpmCustomContentWriterNodeData.cs
- Pair.cs
- ResourceContainerWrapper.cs