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
- FrameSecurityDescriptor.cs
- BigInt.cs
- AppDomainResourcePerfCounters.cs
- HttpApplicationFactory.cs
- RegexTypeEditor.cs
- SqlReferenceCollection.cs
- ProxyWebPartConnectionCollection.cs
- DesignBindingConverter.cs
- ToolStripSeparator.cs
- Compilation.cs
- DocumentViewerConstants.cs
- Soap.cs
- XmlUtil.cs
- HttpRawResponse.cs
- ObjectDataSource.cs
- CheckBox.cs
- SqlDependencyUtils.cs
- SizeLimitedCache.cs
- LassoSelectionBehavior.cs
- ObjectStateFormatter.cs
- MinMaxParagraphWidth.cs
- coordinator.cs
- AssemblyAttributesGoHere.cs
- TypeDependencyAttribute.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- ApplicationGesture.cs
- UIElement.cs
- BulletedList.cs
- XmlSerializableServices.cs
- ContextMenuStrip.cs
- EventLog.cs
- AppSettingsReader.cs
- ListViewGroupConverter.cs
- WindowsTreeView.cs
- UInt32Storage.cs
- ProgressBarHighlightConverter.cs
- IisTraceListener.cs
- QilFunction.cs
- ReadWriteSpinLock.cs
- Utility.cs
- WebPart.cs
- basevalidator.cs
- _Rfc2616CacheValidators.cs
- ObjectTokenCategory.cs
- SharedPersonalizationStateInfo.cs
- UserControlCodeDomTreeGenerator.cs
- ArraySegment.cs
- BinaryFormatter.cs
- XmlSchemaProviderAttribute.cs
- CodeDirectionExpression.cs
- ExecutionScope.cs
- MouseWheelEventArgs.cs
- WebPartVerb.cs
- ConversionContext.cs
- BindingManagerDataErrorEventArgs.cs
- ListView.cs
- FileInfo.cs
- Thread.cs
- RegexNode.cs
- GeneratedCodeAttribute.cs
- NativeMethods.cs
- HttpValueCollection.cs
- UIElementPropertyUndoUnit.cs
- SchemaEntity.cs
- DataListItem.cs
- RemoteHelper.cs
- SettingsProviderCollection.cs
- SqlConnectionString.cs
- ScaleTransform.cs
- XmlSchemaObject.cs
- DiscoveryClientDocuments.cs
- Geometry.cs
- WebPartDisplayMode.cs
- AutomationPatternInfo.cs
- SystemDiagnosticsSection.cs
- Byte.cs
- XmlDataSource.cs
- WindowsRichEdit.cs
- NotImplementedException.cs
- X509Certificate2.cs
- DebugHandleTracker.cs
- ReferenceEqualityComparer.cs
- PerfProviderCollection.cs
- SmtpAuthenticationManager.cs
- EntityTypeEmitter.cs
- CacheSection.cs
- WizardPanel.cs
- ObjectStateEntry.cs
- _HTTPDateParse.cs
- CssTextWriter.cs
- CustomGrammar.cs
- EntityContainerRelationshipSet.cs
- ListBase.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- NameValueSectionHandler.cs
- StoreItemCollection.cs
- KeyTimeConverter.cs
- ColorTransform.cs
- EmissiveMaterial.cs
- FormClosedEvent.cs