Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / DataBindingHandlerAttribute.cs / 1305376 / DataBindingHandlerAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Globalization; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] public sealed class DataBindingHandlerAttribute : Attribute { private string _typeName; ////// public static readonly DataBindingHandlerAttribute Default = new DataBindingHandlerAttribute(); ////// public DataBindingHandlerAttribute() { _typeName = String.Empty; } ////// public DataBindingHandlerAttribute(Type type) { _typeName = type.AssemblyQualifiedName; } ////// public DataBindingHandlerAttribute(string typeName) { _typeName = typeName; } ////// public string HandlerTypeName { get { return (_typeName != null ? _typeName : String.Empty); } } ///public override bool Equals(object obj) { if (obj == this) { return true; } DataBindingHandlerAttribute other = obj as DataBindingHandlerAttribute; if (other != null) { return (String.Compare(HandlerTypeName, other.HandlerTypeName, StringComparison.Ordinal) == 0); } return false; } /// public override int GetHashCode() { return HandlerTypeName.GetHashCode(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Globalization; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] public sealed class DataBindingHandlerAttribute : Attribute { private string _typeName; ////// public static readonly DataBindingHandlerAttribute Default = new DataBindingHandlerAttribute(); ////// public DataBindingHandlerAttribute() { _typeName = String.Empty; } ////// public DataBindingHandlerAttribute(Type type) { _typeName = type.AssemblyQualifiedName; } ////// public DataBindingHandlerAttribute(string typeName) { _typeName = typeName; } ////// public string HandlerTypeName { get { return (_typeName != null ? _typeName : String.Empty); } } ///public override bool Equals(object obj) { if (obj == this) { return true; } DataBindingHandlerAttribute other = obj as DataBindingHandlerAttribute; if (other != null) { return (String.Compare(HandlerTypeName, other.HandlerTypeName, StringComparison.Ordinal) == 0); } return false; } /// public override int GetHashCode() { return HandlerTypeName.GetHashCode(); } } } // 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
- autovalidator.cs
- VariantWrapper.cs
- RemotingService.cs
- _SslState.cs
- MessageFormatterConverter.cs
- PersonalizationStateQuery.cs
- Pkcs9Attribute.cs
- BasicCommandTreeVisitor.cs
- WebPartEventArgs.cs
- Baml2006ReaderSettings.cs
- ImageClickEventArgs.cs
- WebControlAdapter.cs
- HandoffBehavior.cs
- UnsafeNativeMethods.cs
- QilScopedVisitor.cs
- Int32KeyFrameCollection.cs
- CodePrimitiveExpression.cs
- Cell.cs
- SiteMapNodeCollection.cs
- GetPageNumberCompletedEventArgs.cs
- Point4D.cs
- TextLine.cs
- CodeComment.cs
- TextParagraph.cs
- SchemaImporterExtensionElement.cs
- ManifestResourceInfo.cs
- XmlArrayItemAttributes.cs
- WindowsFormsHelpers.cs
- ToolBarPanel.cs
- ImportCatalogPart.cs
- XmlReaderSettings.cs
- ConfigXmlCDataSection.cs
- Margins.cs
- WindowsAuthenticationEventArgs.cs
- GcSettings.cs
- SmtpNtlmAuthenticationModule.cs
- COSERVERINFO.cs
- DeviceSpecificDesigner.cs
- Rectangle.cs
- XamlReaderHelper.cs
- TypeHelper.cs
- XmlSchemaValidationException.cs
- SafeMemoryMappedViewHandle.cs
- DeflateStream.cs
- ApplicationId.cs
- ImageMapEventArgs.cs
- GridViewRow.cs
- LocatorGroup.cs
- RichTextBox.cs
- SizeConverter.cs
- StorageTypeMapping.cs
- NavigateUrlConverter.cs
- OleDbConnectionInternal.cs
- ZipIOExtraFieldZip64Element.cs
- FileRegion.cs
- OdbcEnvironmentHandle.cs
- PageStatePersister.cs
- TripleDES.cs
- AssociationType.cs
- CompiledXpathExpr.cs
- DnsEndpointIdentity.cs
- controlskin.cs
- CollectionViewGroupInternal.cs
- EventRouteFactory.cs
- UnmanagedMemoryStreamWrapper.cs
- embossbitmapeffect.cs
- SliderAutomationPeer.cs
- XmlNamespaceMappingCollection.cs
- DurableMessageDispatchInspector.cs
- VScrollProperties.cs
- AnnotationResourceChangedEventArgs.cs
- ColorBuilder.cs
- TreeSet.cs
- ManagementNamedValueCollection.cs
- TextWriter.cs
- StateDesigner.CommentLayoutGlyph.cs
- InvokeHandlers.cs
- XmlWrappingWriter.cs
- Ref.cs
- DbParameterHelper.cs
- PolicyException.cs
- CompilerInfo.cs
- OracleEncoding.cs
- MetadataSource.cs
- DataGridViewRowHeaderCell.cs
- ObjectCacheHost.cs
- TextServicesManager.cs
- StatusBarDesigner.cs
- SqlLiftWhereClauses.cs
- TextOnlyOutput.cs
- DesignerCategoryAttribute.cs
- InfoCardCryptoHelper.cs
- DesignRelation.cs
- processwaithandle.cs
- MouseButton.cs
- GraphicsState.cs
- CompiledRegexRunnerFactory.cs
- ForceCopyBuildProvider.cs
- HttpListenerRequest.cs
- AsymmetricSignatureFormatter.cs