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
- BitmapSourceSafeMILHandle.cs
- IfJoinedCondition.cs
- EventRouteFactory.cs
- System.Data.OracleClient_BID.cs
- SqlFactory.cs
- BitmapFrameEncode.cs
- SystemWebCachingSectionGroup.cs
- XmlSchemaSet.cs
- ExtenderControl.cs
- util.cs
- Pair.cs
- CodeSnippetTypeMember.cs
- MultiBinding.cs
- MenuAdapter.cs
- ThumbAutomationPeer.cs
- EnumType.cs
- DropTarget.cs
- DetailsViewInsertedEventArgs.cs
- DataGridViewButtonCell.cs
- CurrentTimeZone.cs
- IntPtr.cs
- RegexCode.cs
- DeleteWorkflowOwnerCommand.cs
- StreamUpdate.cs
- QuaternionIndependentAnimationStorage.cs
- BinaryMessageEncodingElement.cs
- PocoEntityKeyStrategy.cs
- BindingOperations.cs
- ProxySimple.cs
- Label.cs
- log.cs
- ListViewTableCell.cs
- EventMemberCodeDomSerializer.cs
- FragmentQueryProcessor.cs
- StylusButtonCollection.cs
- GridViewUpdateEventArgs.cs
- RootContext.cs
- StaticExtensionConverter.cs
- DaylightTime.cs
- QueryOptionExpression.cs
- PersonalizationStateQuery.cs
- EventLogTraceListener.cs
- OdbcTransaction.cs
- Block.cs
- selecteditemcollection.cs
- OrderedHashRepartitionEnumerator.cs
- Propagator.ExtentPlaceholderCreator.cs
- AutomationPeer.cs
- ContentElementAutomationPeer.cs
- EventInfo.cs
- ValidatorCompatibilityHelper.cs
- SafeIUnknown.cs
- EntityClassGenerator.cs
- PermissionRequestEvidence.cs
- TreeNodeConverter.cs
- ReaderWriterLock.cs
- RegexCompiler.cs
- SqlLiftIndependentRowExpressions.cs
- CurrencyWrapper.cs
- ObjectDataSource.cs
- PageBuildProvider.cs
- Merger.cs
- RecordManager.cs
- Image.cs
- FileUpload.cs
- HttpHandlerActionCollection.cs
- TextSearch.cs
- SerializationSectionGroup.cs
- PassportIdentity.cs
- IPEndPointCollection.cs
- WinCategoryAttribute.cs
- EndpointConfigContainer.cs
- ScriptResourceHandler.cs
- MediaElementAutomationPeer.cs
- CommandID.cs
- DBNull.cs
- InkPresenter.cs
- SizeAnimationClockResource.cs
- GradientBrush.cs
- LoadRetryConstantStrategy.cs
- HtmlImage.cs
- AutomationPatternInfo.cs
- QueryPrefixOp.cs
- PageParserFilter.cs
- SurrogateSelector.cs
- ReadOnlyDictionary.cs
- DesignerForm.cs
- _AcceptOverlappedAsyncResult.cs
- SigningProgress.cs
- DBParameter.cs
- XmlAttribute.cs
- NumericPagerField.cs
- ApplicationInterop.cs
- Latin1Encoding.cs
- IndentTextWriter.cs
- WindowsSlider.cs
- UnionCodeGroup.cs
- RTLAwareMessageBox.cs
- WindowsFormsSynchronizationContext.cs
- NavigateUrlConverter.cs