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
- CrossContextChannel.cs
- TemplateKey.cs
- WebColorConverter.cs
- DynamicValidatorEventArgs.cs
- FunctionDescription.cs
- PropertyGeneratedEventArgs.cs
- AccessDataSourceDesigner.cs
- DragEventArgs.cs
- DataGridPagerStyle.cs
- StateItem.cs
- QilInvoke.cs
- DataServiceException.cs
- XPathNode.cs
- LinearKeyFrames.cs
- UncommonField.cs
- DesignerTransaction.cs
- ParentUndoUnit.cs
- Listbox.cs
- StringExpressionSet.cs
- SqlInfoMessageEvent.cs
- AnchoredBlock.cs
- EncryptedPackage.cs
- AuthorizationRule.cs
- ObjectSelectorEditor.cs
- AuthenticatedStream.cs
- LineInfo.cs
- RenameRuleObjectDialog.Designer.cs
- Component.cs
- SuppressIldasmAttribute.cs
- ErrorHandlingReceiver.cs
- DesignerDataView.cs
- BuildManagerHost.cs
- controlskin.cs
- RuleProcessor.cs
- SqlDataAdapter.cs
- ApplyImportsAction.cs
- NetDataContractSerializer.cs
- LogicalTreeHelper.cs
- FrameworkContextData.cs
- ImageAutomationPeer.cs
- UserPersonalizationStateInfo.cs
- SimpleRecyclingCache.cs
- MSAANativeProvider.cs
- PackageDigitalSignatureManager.cs
- ProxyWebPartConnectionCollection.cs
- InfoCardTraceRecord.cs
- SinglePageViewer.cs
- TextTrailingWordEllipsis.cs
- remotingproxy.cs
- AnnotationStore.cs
- XmlSchemaExternal.cs
- WeakReadOnlyCollection.cs
- DaylightTime.cs
- ObjectMemberMapping.cs
- HorizontalAlignConverter.cs
- CheckBoxFlatAdapter.cs
- WebControl.cs
- SqlDataSourceFilteringEventArgs.cs
- SupportingTokenProviderSpecification.cs
- MenuItemCollection.cs
- ProgramNode.cs
- ThemeableAttribute.cs
- DrawingBrush.cs
- DrawTreeNodeEventArgs.cs
- OdbcInfoMessageEvent.cs
- SHA512.cs
- DesignerSerializationOptionsAttribute.cs
- ListViewGroupItemCollection.cs
- TemplateApplicationHelper.cs
- TextDecorationCollectionConverter.cs
- QuadraticBezierSegment.cs
- XmlSchemaValidator.cs
- CodeDomLocalizationProvider.cs
- CodeNamespace.cs
- InvalidOleVariantTypeException.cs
- Oid.cs
- SplitContainer.cs
- TemplateXamlParser.cs
- SortedSet.cs
- CodePropertyReferenceExpression.cs
- DirectoryInfo.cs
- EmbeddedMailObject.cs
- WindowsListViewItemCheckBox.cs
- WSDualHttpBindingElement.cs
- OledbConnectionStringbuilder.cs
- Hash.cs
- ApplicationId.cs
- DoubleConverter.cs
- SHA512.cs
- HandlerMappingMemo.cs
- SmtpDateTime.cs
- ResourceDescriptionAttribute.cs
- TransformProviderWrapper.cs
- CodeLabeledStatement.cs
- ChildrenQuery.cs
- ExportFileRequest.cs
- HuffmanTree.cs
- ErrorFormatter.cs
- RtType.cs
- UpdateManifestForBrowserApplication.cs