Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / DataBindingHandlerAttribute.cs / 1 / 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)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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(); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ServiceModelConfigurationElementCollection.cs
- IPEndPointCollection.cs
- XmlSchemaExporter.cs
- BypassElementCollection.cs
- BaseValidatorDesigner.cs
- ResourcePart.cs
- SimpleWebHandlerParser.cs
- DataGridViewColumnConverter.cs
- CodeExpressionStatement.cs
- Invariant.cs
- TextDecorationCollection.cs
- LookupBindingPropertiesAttribute.cs
- XPathConvert.cs
- AppDomainProtocolHandler.cs
- MostlySingletonList.cs
- DBCommand.cs
- HtmlImageAdapter.cs
- InstanceContextManager.cs
- FormViewUpdateEventArgs.cs
- Size3D.cs
- AssemblyBuilder.cs
- FacetEnabledSchemaElement.cs
- ResourceLoader.cs
- CompilerInfo.cs
- TableHeaderCell.cs
- DisposableCollectionWrapper.cs
- SortDescription.cs
- PropertyEmitterBase.cs
- IPGlobalProperties.cs
- COM2PictureConverter.cs
- AttributeCollection.cs
- SystemException.cs
- VisualStyleInformation.cs
- StyleCollectionEditor.cs
- DetailsViewUpdatedEventArgs.cs
- _HeaderInfoTable.cs
- Button.cs
- RangeBaseAutomationPeer.cs
- DocumentReferenceCollection.cs
- MultiBindingExpression.cs
- SqlProvider.cs
- AutomationProperties.cs
- TypeInitializationException.cs
- BinaryMessageEncodingElement.cs
- FileSystemWatcher.cs
- DataSvcMapFileSerializer.cs
- SecurityUniqueId.cs
- WebServiceReceive.cs
- Keyboard.cs
- TreeNodeMouseHoverEvent.cs
- Filter.cs
- FieldToken.cs
- Brushes.cs
- PropertyConverter.cs
- ProcessProtocolHandler.cs
- EmbeddedMailObjectsCollection.cs
- ContextMenuAutomationPeer.cs
- ErrorFormatter.cs
- _PooledStream.cs
- HexParser.cs
- TypeDependencyAttribute.cs
- MissingSatelliteAssemblyException.cs
- AttachmentCollection.cs
- SendMailErrorEventArgs.cs
- DataGridViewRowCancelEventArgs.cs
- DataQuery.cs
- CodeAccessPermission.cs
- SizeConverter.cs
- ChildTable.cs
- NumericUpDownAcceleration.cs
- TdsParserStaticMethods.cs
- TabControlCancelEvent.cs
- RangeValueProviderWrapper.cs
- StringAnimationBase.cs
- PathFigureCollectionValueSerializer.cs
- WindowsFormsDesignerOptionService.cs
- ComponentRenameEvent.cs
- QilStrConcatenator.cs
- ChooseAction.cs
- Bold.cs
- SqlUdtInfo.cs
- GeometryValueSerializer.cs
- XmlDataContract.cs
- APCustomTypeDescriptor.cs
- X509CertificateCollection.cs
- Domain.cs
- BitmapMetadata.cs
- MULTI_QI.cs
- Timer.cs
- OdbcReferenceCollection.cs
- KeyGestureConverter.cs
- TypeConstant.cs
- EntitySetRetriever.cs
- CancellationHandler.cs
- SqlDataSource.cs
- SourceElementsCollection.cs
- NativeCppClassAttribute.cs
- SafeBitVector32.cs
- ToolStripActionList.cs
- RuleSettings.cs