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
- Annotation.cs
- SchemaInfo.cs
- CopyNamespacesAction.cs
- ScrollContentPresenter.cs
- TextRangeBase.cs
- PtsPage.cs
- BindableAttribute.cs
- ExpandSegmentCollection.cs
- _HelperAsyncResults.cs
- XmlProcessingInstruction.cs
- InstanceCreationEditor.cs
- GroupedContextMenuStrip.cs
- _NegoState.cs
- GeneralTransform3DGroup.cs
- Odbc32.cs
- ImportException.cs
- GreenMethods.cs
- SymbolPair.cs
- MachineKeySection.cs
- PrintDialog.cs
- MimeMapping.cs
- Activity.cs
- SQLDecimal.cs
- SecurityValidationBehavior.cs
- MailSettingsSection.cs
- DependencyPropertyHelper.cs
- XmlSerializationWriter.cs
- EntityTypeBase.cs
- TriState.cs
- LookupBindingPropertiesAttribute.cs
- DashStyle.cs
- AttachedPropertyBrowsableAttribute.cs
- TextInfo.cs
- ProfilePropertySettingsCollection.cs
- DefaultBindingPropertyAttribute.cs
- StandardCommands.cs
- IChannel.cs
- DataList.cs
- ConfigurationProviderException.cs
- CodeAttachEventStatement.cs
- SessionViewState.cs
- GeneralTransformCollection.cs
- OracleTimeSpan.cs
- RuntimeConfigLKG.cs
- BroadcastEventHelper.cs
- ProviderMetadataCachedInformation.cs
- OutOfProcStateClientManager.cs
- BrowsableAttribute.cs
- SqlProviderManifest.cs
- StandardCommands.cs
- DelayedRegex.cs
- PageContent.cs
- IIS7UserPrincipal.cs
- PartBasedPackageProperties.cs
- BamlVersionHeader.cs
- DocumentViewerConstants.cs
- XmlBufferReader.cs
- _SslSessionsCache.cs
- EventLogWatcher.cs
- HandlerBase.cs
- Decimal.cs
- WebPartDescription.cs
- Rijndael.cs
- BitmapPalettes.cs
- ErrorWebPart.cs
- Vector3DCollectionValueSerializer.cs
- HttpRequestTraceRecord.cs
- ObjectQueryExecutionPlan.cs
- AggregationMinMaxHelpers.cs
- XmlSchemaComplexContent.cs
- RuleSettings.cs
- TypeDescriptionProviderAttribute.cs
- CryptoConfig.cs
- UrlPath.cs
- StyleHelper.cs
- ColorAnimation.cs
- IPEndPoint.cs
- FileDialogPermission.cs
- UnsafeNativeMethods.cs
- Rules.cs
- EventSetter.cs
- dtdvalidator.cs
- HttpDebugHandler.cs
- ErrorWebPart.cs
- RegexCode.cs
- EnumerableRowCollectionExtensions.cs
- DataGridLinkButton.cs
- StringTraceRecord.cs
- SystemDiagnosticsSection.cs
- CompletedAsyncResult.cs
- GeometryValueSerializer.cs
- Span.cs
- CollectionViewGroup.cs
- DataStreams.cs
- LifetimeManager.cs
- RunInstallerAttribute.cs
- Timer.cs
- PolyQuadraticBezierSegment.cs
- NodeLabelEditEvent.cs
- ProtocolsSection.cs