Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TakeQueryOptionExpression.cs
- DataPagerCommandEventArgs.cs
- TabPageDesigner.cs
- DeploymentExceptionMapper.cs
- ADMembershipUser.cs
- Message.cs
- CryptoApi.cs
- MSG.cs
- ToolStripDropTargetManager.cs
- PathNode.cs
- XmlUrlEditor.cs
- Matrix.cs
- versioninfo.cs
- SetStoryboardSpeedRatio.cs
- ToolStripItemEventArgs.cs
- InputLanguageProfileNotifySink.cs
- TextEffectCollection.cs
- ClientRoleProvider.cs
- MetadataSerializer.cs
- DocumentStatusResources.cs
- QueryCursorEventArgs.cs
- MessageHeaderInfoTraceRecord.cs
- DbMetaDataFactory.cs
- Journal.cs
- EnumBuilder.cs
- DataSourceHelper.cs
- GridItemProviderWrapper.cs
- SocketException.cs
- XamlStyleSerializer.cs
- ConfigXmlSignificantWhitespace.cs
- BufferedGraphicsContext.cs
- MultipleViewProviderWrapper.cs
- NullRuntimeConfig.cs
- TypeBuilderInstantiation.cs
- ComponentDispatcher.cs
- ScalarOps.cs
- AttributedMetaModel.cs
- WindowsGraphics2.cs
- SiteOfOriginPart.cs
- HMACSHA256.cs
- Compiler.cs
- HiddenFieldPageStatePersister.cs
- QilGeneratorEnv.cs
- DatagridviewDisplayedBandsData.cs
- DataGridViewCellFormattingEventArgs.cs
- WebPartDisplayModeEventArgs.cs
- ClientSettings.cs
- COM2IDispatchConverter.cs
- BCryptHashAlgorithm.cs
- CodeAccessSecurityEngine.cs
- SqlTransaction.cs
- Point4D.cs
- HtmlTableRowCollection.cs
- ProviderSettings.cs
- CollectionBuilder.cs
- FixedHyperLink.cs
- XmlAnyElementAttributes.cs
- DesignerDataRelationship.cs
- UndoManager.cs
- RTLAwareMessageBox.cs
- DispatcherExceptionEventArgs.cs
- WebScriptServiceHost.cs
- OledbConnectionStringbuilder.cs
- ForwardPositionQuery.cs
- BypassElement.cs
- InternalConfigRoot.cs
- RuntimeResourceSet.cs
- DataGridViewRowCancelEventArgs.cs
- ResolveCriteriaCD1.cs
- ViewSimplifier.cs
- DataColumnMappingCollection.cs
- SequentialOutput.cs
- SHA512.cs
- ScrollEvent.cs
- Pen.cs
- TextFormatter.cs
- WindowsGraphics2.cs
- OciLobLocator.cs
- DataSourceBooleanViewSchemaConverter.cs
- EmbeddedObject.cs
- TogglePatternIdentifiers.cs
- ParameterElementCollection.cs
- StructuralType.cs
- NavigatorOutput.cs
- ClientUrlResolverWrapper.cs
- SafeNativeMethods.cs
- CurrentChangedEventManager.cs
- coordinator.cs
- DefaultPropertiesToSend.cs
- selecteditemcollection.cs
- ListDesigner.cs
- SortableBindingList.cs
- SqlBooleanMismatchVisitor.cs
- MessageEnumerator.cs
- shaperfactoryquerycacheentry.cs
- WebAdminConfigurationHelper.cs
- DrawingBrush.cs
- ThreadExceptionDialog.cs
- SqlException.cs
- Converter.cs