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
- CodeChecksumPragma.cs
- SystemGatewayIPAddressInformation.cs
- Debugger.cs
- Brushes.cs
- IIS7UserPrincipal.cs
- ProxyGenerator.cs
- isolationinterop.cs
- WebBrowserDesigner.cs
- dataobject.cs
- odbcmetadatafactory.cs
- AssociationTypeEmitter.cs
- MasterPage.cs
- ConfigurationProperty.cs
- SerializableAttribute.cs
- BmpBitmapDecoder.cs
- CopyOnWriteList.cs
- HighlightVisual.cs
- Literal.cs
- MouseGesture.cs
- DrawingVisualDrawingContext.cs
- VScrollProperties.cs
- Merger.cs
- Clipboard.cs
- OpacityConverter.cs
- ILGenerator.cs
- FillErrorEventArgs.cs
- PersistenceTask.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SemanticAnalyzer.cs
- CodeRegionDirective.cs
- ProtectedProviderSettings.cs
- ValidationVisibilityAttribute.cs
- ExtenderHelpers.cs
- CacheForPrimitiveTypes.cs
- UnsafeNetInfoNativeMethods.cs
- HtmlInputCheckBox.cs
- COM2FontConverter.cs
- SQLInt32Storage.cs
- InstancePersistenceCommand.cs
- Boolean.cs
- TableLayoutColumnStyleCollection.cs
- TypeSystemHelpers.cs
- CommandManager.cs
- SplitContainer.cs
- XmlSerializerFactory.cs
- DetailsViewRowCollection.cs
- CodeTypeDelegate.cs
- UIPermission.cs
- PeerNameRecordCollection.cs
- WebPartRestoreVerb.cs
- EditorPartCollection.cs
- httpserverutility.cs
- File.cs
- ClientUrlResolverWrapper.cs
- DataIdProcessor.cs
- CompositeTypefaceMetrics.cs
- TitleStyle.cs
- VarRefManager.cs
- Dump.cs
- Hash.cs
- ListControlConvertEventArgs.cs
- FunctionGenerator.cs
- IsolationInterop.cs
- ViewCellSlot.cs
- CompositeControl.cs
- PathBox.cs
- StaticSiteMapProvider.cs
- TargetConverter.cs
- RedistVersionInfo.cs
- HttpApplicationStateBase.cs
- EmptyEnumerator.cs
- ArrangedElement.cs
- SchemaCompiler.cs
- SafeNativeMethods.cs
- XmlSchemaAny.cs
- StaticFileHandler.cs
- PcmConverter.cs
- WebPartDisplayModeCollection.cs
- ListParagraph.cs
- ToolStripDropDown.cs
- ConstructorNeedsTagAttribute.cs
- BufferedWebEventProvider.cs
- CellConstant.cs
- PenThreadWorker.cs
- DesignUtil.cs
- SHA256.cs
- _ServiceNameStore.cs
- CachedBitmap.cs
- BaseCollection.cs
- QueryContinueDragEvent.cs
- MetadataArtifactLoaderCompositeFile.cs
- SQLByteStorage.cs
- CancelEventArgs.cs
- RouteParameter.cs
- GridEntryCollection.cs
- AssemblyName.cs
- ComponentCollection.cs
- StaticResourceExtension.cs
- SelectionWordBreaker.cs
- IncrementalHitTester.cs