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
- DocumentOrderComparer.cs
- HyperLink.cs
- OracleRowUpdatedEventArgs.cs
- securitycriticaldata.cs
- ColumnResizeAdorner.cs
- BypassElement.cs
- PlaceHolder.cs
- XmlLinkedNode.cs
- DisableDpiAwarenessAttribute.cs
- DocumentScope.cs
- SchemaSetCompiler.cs
- DataGridColumnReorderingEventArgs.cs
- KeyGesture.cs
- StatusBar.cs
- dbenumerator.cs
- CompletionCallbackWrapper.cs
- BrowserCapabilitiesFactoryBase.cs
- CharacterShapingProperties.cs
- PassportPrincipal.cs
- TemplateKeyConverter.cs
- SettingsProviderCollection.cs
- WindowsListViewItem.cs
- HtmlInputText.cs
- ChtmlTextWriter.cs
- LocalBuilder.cs
- SoapTypeAttribute.cs
- ConfigurationSectionHelper.cs
- DllNotFoundException.cs
- CredentialSelector.cs
- DomainUpDown.cs
- CodeAccessSecurityEngine.cs
- KernelTypeValidation.cs
- OdbcFactory.cs
- SmiXetterAccessMap.cs
- ParagraphVisual.cs
- RankException.cs
- TagNameToTypeMapper.cs
- DictionaryGlobals.cs
- GetPageNumberCompletedEventArgs.cs
- PropertyIDSet.cs
- SqlParameter.cs
- CSharpCodeProvider.cs
- PassportAuthenticationEventArgs.cs
- XmlComplianceUtil.cs
- NamedElement.cs
- JsonFormatMapping.cs
- GraphicsState.cs
- UserControl.cs
- SocketPermission.cs
- OAVariantLib.cs
- DataServiceConfiguration.cs
- Mapping.cs
- EnumBuilder.cs
- OracleDataAdapter.cs
- Model3DGroup.cs
- TabletDevice.cs
- InvalidateEvent.cs
- IncrementalCompileAnalyzer.cs
- DelegateHelpers.cs
- StickyNoteContentControl.cs
- precedingsibling.cs
- TypeExtensionConverter.cs
- NativeMethods.cs
- PropertyGridEditorPart.cs
- RegexTypeEditor.cs
- SoapExtensionStream.cs
- WebPartManagerDesigner.cs
- ZipIOExtraField.cs
- BinaryFormatter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DivideByZeroException.cs
- ServiceOperation.cs
- DynamicDiscoveryDocument.cs
- FileSystemEventArgs.cs
- RepeaterItem.cs
- BitmapEffectDrawingContextWalker.cs
- SynchronizedDispatch.cs
- CheckedListBox.cs
- RegisteredScript.cs
- ToolboxCategoryItems.cs
- WaitHandleCannotBeOpenedException.cs
- ContentElement.cs
- FixedNode.cs
- ConfigurationValidatorAttribute.cs
- StickyNoteContentControl.cs
- RectValueSerializer.cs
- AdRotator.cs
- ConnectionsZone.cs
- AutomationPatternInfo.cs
- XmlSchemaParticle.cs
- GenericTypeParameterBuilder.cs
- ThreadExceptionEvent.cs
- TemplateEditingService.cs
- backend.cs
- SqlLiftWhereClauses.cs
- DeflateStream.cs
- WindowsSpinner.cs
- FormsAuthenticationTicket.cs
- SyncMethodInvoker.cs
- TextSegment.cs