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
- CompositeCollection.cs
- CapabilitiesPattern.cs
- ListViewTableCell.cs
- MessageSecurityOverTcpElement.cs
- SqlSelectStatement.cs
- FloaterParagraph.cs
- SqlCacheDependencyDatabase.cs
- XmlSchema.cs
- DetailsView.cs
- XmlChoiceIdentifierAttribute.cs
- TextEditorCopyPaste.cs
- DynamicILGenerator.cs
- webeventbuffer.cs
- AudioLevelUpdatedEventArgs.cs
- InlineObject.cs
- Tokenizer.cs
- NotifyIcon.cs
- XmlSchemaInferenceException.cs
- RequestNavigateEventArgs.cs
- BufferedGraphicsManager.cs
- ExtenderHelpers.cs
- ProcessHostFactoryHelper.cs
- StringComparer.cs
- UInt16.cs
- BufferedStream2.cs
- TemplateBamlRecordReader.cs
- ServerType.cs
- EpmContentSerializer.cs
- DeflateEmulationStream.cs
- SamlAction.cs
- RawStylusInputReport.cs
- BindingsCollection.cs
- EntityException.cs
- BindingListCollectionView.cs
- IntegerValidatorAttribute.cs
- CommandConverter.cs
- DoubleCollectionValueSerializer.cs
- SystemColorTracker.cs
- BadImageFormatException.cs
- Boolean.cs
- GlyphRunDrawing.cs
- DesignerVerbCollection.cs
- EntityTypeEmitter.cs
- WSTrustDec2005.cs
- ObjectStorage.cs
- AsyncResult.cs
- SHA1CryptoServiceProvider.cs
- ValidatorCollection.cs
- Trigger.cs
- EventMappingSettingsCollection.cs
- mediapermission.cs
- COM2Properties.cs
- EntryPointNotFoundException.cs
- UserControl.cs
- ResponseBodyWriter.cs
- EditorBrowsableAttribute.cs
- ProviderSettings.cs
- DecimalAnimation.cs
- Context.cs
- SqlConnectionPoolProviderInfo.cs
- IpcPort.cs
- WebPartZoneCollection.cs
- sqlmetadatafactory.cs
- DelimitedListTraceListener.cs
- ExtensionQuery.cs
- PropertyTabAttribute.cs
- AnyReturnReader.cs
- SystemIPGlobalProperties.cs
- DropShadowEffect.cs
- IndividualDeviceConfig.cs
- TracedNativeMethods.cs
- DoubleAnimationBase.cs
- InputProcessorProfiles.cs
- DataGridPagerStyle.cs
- HttpListener.cs
- QueryCursorEventArgs.cs
- XNodeSchemaApplier.cs
- LocatorManager.cs
- WindowsGraphics2.cs
- Compiler.cs
- ColorConvertedBitmap.cs
- InputLangChangeEvent.cs
- DrawingContextDrawingContextWalker.cs
- StorageMappingItemLoader.cs
- FolderLevelBuildProvider.cs
- RuleConditionDialog.Designer.cs
- _CommandStream.cs
- GroupItemAutomationPeer.cs
- PolyLineSegmentFigureLogic.cs
- KerberosSecurityTokenAuthenticator.cs
- StringToken.cs
- FixUp.cs
- WMIGenerator.cs
- MemberAssignmentAnalysis.cs
- CustomValidator.cs
- EndpointBehaviorElement.cs
- LinkLabelLinkClickedEvent.cs
- SqlConnectionHelper.cs
- InstancePersistenceEvent.cs
- XamlTreeBuilderBamlRecordWriter.cs