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
- HttpStreamXmlDictionaryReader.cs
- NativeMethods.cs
- MultiDataTrigger.cs
- RC2CryptoServiceProvider.cs
- FontWeight.cs
- CqlWriter.cs
- SafeIUnknown.cs
- ServiceMemoryGates.cs
- CanExecuteRoutedEventArgs.cs
- AssemblyCache.cs
- httpserverutility.cs
- OptimizedTemplateContent.cs
- ServiceInfo.cs
- XmlRawWriter.cs
- MetabaseSettings.cs
- DragEventArgs.cs
- ReliableInputConnection.cs
- WinInet.cs
- OutputWindow.cs
- HwndAppCommandInputProvider.cs
- ObjectDataSourceSelectingEventArgs.cs
- CredentialCache.cs
- ServiceChannelFactory.cs
- ServiceDurableInstance.cs
- DataGridViewToolTip.cs
- SettingsBase.cs
- NamespaceMapping.cs
- ProfessionalColors.cs
- Clock.cs
- ApplicationActivator.cs
- TextEditorMouse.cs
- COAUTHINFO.cs
- ActivityInterfaces.cs
- EntityDataSourceWizardForm.cs
- Vector3dCollection.cs
- RowTypePropertyElement.cs
- ObfuscateAssemblyAttribute.cs
- WebPartChrome.cs
- Types.cs
- DefaultCompensation.cs
- TempFiles.cs
- MessageQueueInstaller.cs
- InkCanvasAutomationPeer.cs
- LowerCaseStringConverter.cs
- complextypematerializer.cs
- Point3DCollection.cs
- PieceNameHelper.cs
- WebPartMenuStyle.cs
- TextRangeSerialization.cs
- MissingSatelliteAssemblyException.cs
- TypeDependencyAttribute.cs
- OracleBoolean.cs
- EdmScalarPropertyAttribute.cs
- DesignerTextBoxAdapter.cs
- MULTI_QI.cs
- DesignerActionVerbList.cs
- UxThemeWrapper.cs
- embossbitmapeffect.cs
- TextFormattingConverter.cs
- CodeNamespaceImportCollection.cs
- ComponentManagerBroker.cs
- CancellationHandler.cs
- EventWaitHandle.cs
- AssemblyCollection.cs
- MatrixAnimationBase.cs
- EdmComplexTypeAttribute.cs
- RegexWorker.cs
- DataGridViewSelectedRowCollection.cs
- ResourceWriter.cs
- ProviderBase.cs
- TextBox.cs
- ScriptControlDescriptor.cs
- SamlConditions.cs
- GenericTypeParameterBuilder.cs
- XmlSchemaCompilationSettings.cs
- ItemCollection.cs
- Permission.cs
- DerivedKeySecurityToken.cs
- PermissionSet.cs
- IndexerNameAttribute.cs
- Rectangle.cs
- WindowsToolbarAsMenu.cs
- DiagnosticsConfigurationHandler.cs
- PerformanceCounter.cs
- SkinBuilder.cs
- LabelLiteral.cs
- SystemIPGlobalStatistics.cs
- IndexerNameAttribute.cs
- WindowsTooltip.cs
- XmlSchemaElement.cs
- FontFamilyConverter.cs
- EnumerableRowCollection.cs
- StylusPointDescription.cs
- AddInToken.cs
- OleDbWrapper.cs
- TextDecorations.cs
- FileNameEditor.cs
- ExpressionBuilder.cs
- HttpClientCertificate.cs
- DbXmlEnabledProviderManifest.cs