Code:
/ DotNET / DotNET / 8.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
- HttpCapabilitiesEvaluator.cs
- PageCodeDomTreeGenerator.cs
- SynchronizationLockException.cs
- HwndSourceKeyboardInputSite.cs
- FontResourceCache.cs
- Themes.cs
- ProgressiveCrcCalculatingStream.cs
- ToolStripRendererSwitcher.cs
- KeySplineConverter.cs
- IDispatchConstantAttribute.cs
- SynchronizationFilter.cs
- ArrayExtension.cs
- XsltContext.cs
- RoleManagerSection.cs
- AsyncStreamReader.cs
- WebPartChrome.cs
- TextEditorContextMenu.cs
- CustomCategoryAttribute.cs
- ItemsChangedEventArgs.cs
- WebPartEventArgs.cs
- HeaderCollection.cs
- InvalidateEvent.cs
- DataGridItemEventArgs.cs
- ILGenerator.cs
- ActivityStateRecord.cs
- RepeaterCommandEventArgs.cs
- TypeElement.cs
- WindowsTooltip.cs
- UIElementCollection.cs
- DataSourceHelper.cs
- DesignTimeValidationFeature.cs
- CreateUserWizard.cs
- XmlNamespaceManager.cs
- ObjectHandle.cs
- CaseInsensitiveOrdinalStringComparer.cs
- InstanceDataCollection.cs
- MarkedHighlightComponent.cs
- Rotation3D.cs
- UpdateInfo.cs
- WebPartConnectionsConfigureVerb.cs
- GZipObjectSerializer.cs
- PrinterSettings.cs
- UnmanagedMemoryStreamWrapper.cs
- StringComparer.cs
- MessageAction.cs
- ClientTargetCollection.cs
- DetailsViewPageEventArgs.cs
- RoutedEvent.cs
- validation.cs
- PropertyEmitter.cs
- TCPListener.cs
- LogReservationCollection.cs
- SelectedDatesCollection.cs
- GridViewActionList.cs
- ObjectViewQueryResultData.cs
- LineServicesRun.cs
- StorageMappingItemLoader.cs
- LinkDescriptor.cs
- QueryStringHandler.cs
- TypeContext.cs
- SqlCommandBuilder.cs
- XslException.cs
- HelpProvider.cs
- MailWebEventProvider.cs
- DashStyle.cs
- CLRBindingWorker.cs
- CounterSample.cs
- GatewayDefinition.cs
- CodeCompiler.cs
- MarkupExtensionReturnTypeAttribute.cs
- JsonDeserializer.cs
- XPathDocumentBuilder.cs
- ObjectDataSourceView.cs
- DrawingAttributes.cs
- ListControlStringCollectionEditor.cs
- LogExtent.cs
- IgnoreDataMemberAttribute.cs
- FormatterConverter.cs
- CapabilitiesState.cs
- ManualResetEvent.cs
- SafeRightsManagementPubHandle.cs
- SourceInterpreter.cs
- OdbcFactory.cs
- CacheDependency.cs
- _TLSstream.cs
- CancellationScope.cs
- SqlException.cs
- SerTrace.cs
- PropertyReferenceSerializer.cs
- SimpleType.cs
- QilChoice.cs
- SecurityStateEncoder.cs
- SamlAssertion.cs
- ResolvedKeyFrameEntry.cs
- ObjectView.cs
- HelpKeywordAttribute.cs
- FixUpCollection.cs
- ClientSettingsStore.cs
- PrinterResolution.cs
- DataRow.cs