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
- Label.cs
- SchemaNamespaceManager.cs
- loginstatus.cs
- DependentTransaction.cs
- List.cs
- XmlWriterSettings.cs
- Environment.cs
- TagNameToTypeMapper.cs
- HMACSHA256.cs
- XmlValueConverter.cs
- LayoutExceptionEventArgs.cs
- HttpServerVarsCollection.cs
- LocalizeDesigner.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DoubleAnimationUsingKeyFrames.cs
- X509CertificateEndpointIdentity.cs
- ProcessProtocolHandler.cs
- SqlClientWrapperSmiStream.cs
- XamlDesignerSerializationManager.cs
- GcSettings.cs
- WebPartUserCapability.cs
- ContractMethodParameterInfo.cs
- WorkflowClientDeliverMessageWrapper.cs
- MultiSelectRootGridEntry.cs
- SafeFileMappingHandle.cs
- XmlCharCheckingWriter.cs
- FtpCachePolicyElement.cs
- PlanCompilerUtil.cs
- TextMetrics.cs
- PassportAuthenticationModule.cs
- SystemIcons.cs
- SettingsPropertyWrongTypeException.cs
- PenLineCapValidation.cs
- BinaryMessageEncodingBindingElement.cs
- CriticalFinalizerObject.cs
- Logging.cs
- ResetableIterator.cs
- Odbc32.cs
- AudioException.cs
- X509Certificate2.cs
- ProcessModelSection.cs
- MachineSettingsSection.cs
- ProtocolsConfigurationHandler.cs
- DescendantOverDescendantQuery.cs
- WebScriptEnablingElement.cs
- CellIdBoolean.cs
- AssemblyFilter.cs
- ServiceDescriptions.cs
- Size3D.cs
- RMPermissions.cs
- AccessKeyManager.cs
- ReadOnlyHierarchicalDataSource.cs
- ObjectSet.cs
- WebBrowserNavigatedEventHandler.cs
- ToolStripDropDown.cs
- ColumnPropertiesGroup.cs
- FieldNameLookup.cs
- DataControlPagerLinkButton.cs
- XmlTextReaderImplHelpers.cs
- HandledEventArgs.cs
- HandlerBase.cs
- Authorization.cs
- StylusButton.cs
- DocumentScope.cs
- Geometry.cs
- ReferenceSchema.cs
- AnimationClock.cs
- TraceListeners.cs
- ToolStripManager.cs
- ViewManager.cs
- RectAnimationClockResource.cs
- WindowManager.cs
- WindowsTreeView.cs
- InternalCache.cs
- TypeDescriptionProvider.cs
- MessageDesigner.cs
- Pointer.cs
- FormClosingEvent.cs
- XpsS0ValidatingLoader.cs
- AddInController.cs
- AssemblyName.cs
- AdapterDictionary.cs
- DataGridViewTextBoxEditingControl.cs
- UriExt.cs
- ProbeMatchesCD1.cs
- Membership.cs
- CodeTypeConstructor.cs
- BrowserCapabilitiesFactory.cs
- DesignerDataStoredProcedure.cs
- Privilege.cs
- AsyncPostBackErrorEventArgs.cs
- GenericAuthenticationEventArgs.cs
- NodeFunctions.cs
- XamlTypeMapper.cs
- FullTextBreakpoint.cs
- peersecuritysettings.cs
- KeyedHashAlgorithm.cs
- CommonProperties.cs
- CodeGenerator.cs
- IntranetCredentialPolicy.cs