Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / ToolboxDataAttribute.cs / 1305376 / ToolboxDataAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI { using System; using System.ComponentModel; using System.Globalization; using System.Web.Util; ////// ToolboxDataAttribute /// [AttributeUsage(AttributeTargets.Class)] public sealed class ToolboxDataAttribute : Attribute { ////// /// public static readonly ToolboxDataAttribute Default = new ToolboxDataAttribute(String.Empty); private string data = String.Empty; ////// public string Data { get { return this.data; } } ////// ///public ToolboxDataAttribute(string data) { this.data = data; } /// /// public override int GetHashCode() { return ((Data != null) ? Data.GetHashCode() : 0); } ///[To be supplied.] ////// ///public override bool Equals(object obj) { if (obj == this) { return true; } if ((obj != null) && (obj is ToolboxDataAttribute)) { return(StringUtil.EqualsIgnoreCase(((ToolboxDataAttribute)obj).Data, data)); } return false; } /// /// ///public override bool IsDefaultAttribute() { return this.Equals(Default); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WinFormsComponentEditor.cs
- InfiniteIntConverter.cs
- TextParagraph.cs
- ControlHelper.cs
- TemplateBuilder.cs
- MsmqOutputMessage.cs
- GradientStopCollection.cs
- DataControlImageButton.cs
- PartialTrustVisibleAssembly.cs
- ProcessHost.cs
- Int32Converter.cs
- PagePropertiesChangingEventArgs.cs
- TargetConverter.cs
- X509SubjectKeyIdentifierClause.cs
- JavaScriptObjectDeserializer.cs
- VirtualDirectoryMappingCollection.cs
- DiscreteKeyFrames.cs
- CustomWebEventKey.cs
- HttpModule.cs
- TreeNode.cs
- Splitter.cs
- XamlTreeBuilderBamlRecordWriter.cs
- Exceptions.cs
- AnnotationComponentChooser.cs
- DataGridViewComboBoxColumnDesigner.cs
- Composition.cs
- RankException.cs
- MsmqPoisonMessageException.cs
- WinEventWrap.cs
- BasePropertyDescriptor.cs
- FontFamilyValueSerializer.cs
- SqlSelectStatement.cs
- PageHandlerFactory.cs
- CodeObjectCreateExpression.cs
- AdornerDecorator.cs
- WebPartZone.cs
- ByteStreamBufferedMessageData.cs
- PropertyRecord.cs
- UserPreferenceChangedEventArgs.cs
- ByteStorage.cs
- AnnotationStore.cs
- OracleTimeSpan.cs
- XamlToRtfWriter.cs
- StylusCollection.cs
- ArrayListCollectionBase.cs
- SqlCachedBuffer.cs
- IIS7UserPrincipal.cs
- HTMLTextWriter.cs
- SystemEvents.cs
- ServiceNotStartedException.cs
- OrderByLifter.cs
- WindowsContainer.cs
- MultiTargetingUtil.cs
- PageParserFilter.cs
- SqlConnectionPoolProviderInfo.cs
- UnsafePeerToPeerMethods.cs
- NGCUIElementCollectionSerializerAsync.cs
- HtmlInputButton.cs
- MarkedHighlightComponent.cs
- SpecularMaterial.cs
- DataRowChangeEvent.cs
- UrlRoutingHandler.cs
- SchemaElement.cs
- EdmItemError.cs
- EntitySqlQueryCacheEntry.cs
- _TimerThread.cs
- DragEventArgs.cs
- Validator.cs
- FormsAuthenticationConfiguration.cs
- DataBindingHandlerAttribute.cs
- StreamReader.cs
- SamlAction.cs
- Decimal.cs
- ServicePointManagerElement.cs
- AssemblyAttributesGoHere.cs
- OuterGlowBitmapEffect.cs
- WebGetAttribute.cs
- XmlSchemaObjectTable.cs
- CaseExpr.cs
- ParseChildrenAsPropertiesAttribute.cs
- IIS7UserPrincipal.cs
- DataReaderContainer.cs
- ForceCopyBuildProvider.cs
- Collection.cs
- RowUpdatedEventArgs.cs
- FixedSchema.cs
- followingsibling.cs
- RowCache.cs
- GeneralTransform2DTo3D.cs
- CodeRemoveEventStatement.cs
- FrameworkTemplate.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CaseInsensitiveComparer.cs
- MemberDescriptor.cs
- PropertyGroupDescription.cs
- MarginsConverter.cs
- DataTableMapping.cs
- CodeStatementCollection.cs
- EventProperty.cs
- XamlSerializer.cs