Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DataGridColumnCollection.cs
- SerializationException.cs
- AuthorizationRuleCollection.cs
- DispatcherSynchronizationContext.cs
- Converter.cs
- ItemContainerGenerator.cs
- MatrixAnimationUsingPath.cs
- DBBindings.cs
- ImageAttributes.cs
- RuntimeArgumentHandle.cs
- SqlCacheDependencyDatabaseCollection.cs
- ActivationArguments.cs
- ReadOnlyNameValueCollection.cs
- SqlEnums.cs
- ModelItem.cs
- ShellProvider.cs
- LoginViewDesigner.cs
- EdmType.cs
- SynchronizedKeyedCollection.cs
- EmbeddedMailObjectsCollection.cs
- GeneralTransformGroup.cs
- FileRecordSequenceHelper.cs
- PropertyFilterAttribute.cs
- ScriptComponentDescriptor.cs
- EntityCollectionChangedParams.cs
- CalendarDay.cs
- ExceptionCollection.cs
- KeyValuePairs.cs
- RoleService.cs
- HostedAspNetEnvironment.cs
- DataGridItem.cs
- ResourceContainer.cs
- Triangle.cs
- StringResourceManager.cs
- CharacterShapingProperties.cs
- BigIntegerStorage.cs
- EntitySqlQueryBuilder.cs
- StringSorter.cs
- ContextBase.cs
- MultiSelectRootGridEntry.cs
- PolyLineSegmentFigureLogic.cs
- BitConverter.cs
- ProfilePropertySettingsCollection.cs
- LinqExpressionNormalizer.cs
- DefaultSection.cs
- CompoundFileStorageReference.cs
- JsonClassDataContract.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- CodeCatchClause.cs
- FactoryRecord.cs
- ListBindingHelper.cs
- Evaluator.cs
- HtmlObjectListAdapter.cs
- XmlSerializerVersionAttribute.cs
- LinqDataSourceInsertEventArgs.cs
- Vector3D.cs
- ServiceDeploymentInfo.cs
- BindingCompleteEventArgs.cs
- HttpCookie.cs
- WebPartAddingEventArgs.cs
- ConfigurationPropertyCollection.cs
- Rotation3D.cs
- IChannel.cs
- DocumentPage.cs
- ProxyWebPart.cs
- XPathNodeHelper.cs
- OleDbStruct.cs
- Pair.cs
- GridViewUpdateEventArgs.cs
- SafeNativeMemoryHandle.cs
- ConfigXmlText.cs
- SolidColorBrush.cs
- Panel.cs
- DataGridViewAdvancedBorderStyle.cs
- TemplateControlParser.cs
- SqlWebEventProvider.cs
- PropertyPath.cs
- XslVisitor.cs
- EntityContainer.cs
- DetailsViewPageEventArgs.cs
- OleDbPropertySetGuid.cs
- ScriptingJsonSerializationSection.cs
- BitmapEffectGroup.cs
- ToolStripScrollButton.cs
- RSACryptoServiceProvider.cs
- AspNetSynchronizationContext.cs
- ListView.cs
- MatchAttribute.cs
- ExpressionBuilderContext.cs
- WindowsGraphicsCacheManager.cs
- InstanceLockedException.cs
- NativeCompoundFileAPIs.cs
- NetCodeGroup.cs
- Roles.cs
- InvalidWMPVersionException.cs
- JoinGraph.cs
- AutoResizedEvent.cs
- ItemCheckedEvent.cs
- AccessViolationException.cs
- TakeQueryOptionExpression.cs