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;
///
/// [To be supplied.]
///
[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;
}
///
///
/// Returns the hashcode for this object.
///
///
public override int GetHashCode() {
return base.GetHashCode();
}
///
/// [To be supplied.]
///
public override bool IsDefaultAttribute() {
return (this.Equals(Default) || isDefault);
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectDataSourceEventArgs.cs
- _DisconnectOverlappedAsyncResult.cs
- CancelEventArgs.cs
- ExceptionUtility.cs
- SemanticValue.cs
- LoginName.cs
- sortedlist.cs
- IndicFontClient.cs
- AuthenticationManager.cs
- MaterialCollection.cs
- CqlQuery.cs
- XmlTypeAttribute.cs
- WindowCollection.cs
- BaseHashHelper.cs
- NetTcpBindingElement.cs
- ConfigXmlDocument.cs
- HttpCapabilitiesSectionHandler.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataGridViewCellStyleConverter.cs
- CryptoProvider.cs
- _HTTPDateParse.cs
- EditorZoneDesigner.cs
- XmlDataProvider.cs
- UnsupportedPolicyOptionsException.cs
- SiteMapPath.cs
- InternalTransaction.cs
- ResourceAttributes.cs
- RtType.cs
- RegexStringValidatorAttribute.cs
- HttpAsyncResult.cs
- ConfigurationManagerInternalFactory.cs
- ParallelSeparator.xaml.cs
- PropertyGridView.cs
- ConnectionsZone.cs
- WizardPanelChangingEventArgs.cs
- WindowsMenu.cs
- TypedReference.cs
- ActivityPreviewDesigner.cs
- SchemaTableColumn.cs
- InputScopeManager.cs
- DescendentsWalker.cs
- AnnotationService.cs
- SchemaCollectionPreprocessor.cs
- TdsParserSessionPool.cs
- HtmlInputImage.cs
- QueryableFilterRepeater.cs
- CharacterShapingProperties.cs
- MD5.cs
- GenericTransactionFlowAttribute.cs
- CompressionTracing.cs
- AttributeParameterInfo.cs
- SynchronizationContext.cs
- CodeSubDirectory.cs
- TemplateComponentConnector.cs
- TextBoxView.cs
- ServiceDurableInstanceContextProvider.cs
- RtType.cs
- DESCryptoServiceProvider.cs
- SetState.cs
- FontNamesConverter.cs
- AsymmetricKeyExchangeFormatter.cs
- EventListenerClientSide.cs
- XsltConvert.cs
- XPathDocumentNavigator.cs
- WindowsListViewSubItem.cs
- XhtmlBasicListAdapter.cs
- SizeLimitedCache.cs
- AssemblyInfo.cs
- __Error.cs
- DataSourceCacheDurationConverter.cs
- KeyGesture.cs
- TreePrinter.cs
- ObjectDataSourceChooseMethodsPanel.cs
- Misc.cs
- InstanceData.cs
- RectKeyFrameCollection.cs
- UserMapPath.cs
- AttachInfo.cs
- ScriptingSectionGroup.cs
- XmlElementAttribute.cs
- CheckBox.cs
- DataGridRowAutomationPeer.cs
- GeometryHitTestParameters.cs
- mil_commands.cs
- CapabilitiesRule.cs
- PropertyMapper.cs
- Convert.cs
- ParallelDesigner.cs
- RegionInfo.cs
- NullableLongMinMaxAggregationOperator.cs
- StructuredTypeEmitter.cs
- CategoryEditor.cs
- ServiceDocumentFormatter.cs
- SignatureResourceHelper.cs
- IPGlobalProperties.cs
- AutomationPeer.cs
- DataBoundControlAdapter.cs
- ByteStreamGeometryContext.cs
- PhonemeEventArgs.cs
- ServiceParser.cs