Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / DataBindingHandlerAttribute.cs / 2 / 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(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QueryInterceptorAttribute.cs
- CompensationDesigner.cs
- HandleExceptionArgs.cs
- ArrayMergeHelper.cs
- Merger.cs
- SecuritySessionSecurityTokenProvider.cs
- SearchForVirtualItemEventArgs.cs
- IFlowDocumentViewer.cs
- ActivityBuilderXamlWriter.cs
- StatusBarPanel.cs
- TypeConverterHelper.cs
- SoapObjectInfo.cs
- BinaryConverter.cs
- RepeatBehavior.cs
- CustomAttributeBuilder.cs
- PasswordBox.cs
- References.cs
- ExternalDataExchangeService.cs
- EntityCodeGenerator.cs
- NamespaceListProperty.cs
- bindurihelper.cs
- CodeTypeParameterCollection.cs
- UniformGrid.cs
- Native.cs
- CalculatedColumn.cs
- AudioFileOut.cs
- XPathCompileException.cs
- ModelEditingScope.cs
- CqlGenerator.cs
- IntSecurity.cs
- CfgParser.cs
- VectorCollectionValueSerializer.cs
- SecurityPermission.cs
- WebAdminConfigurationHelper.cs
- diagnosticsswitches.cs
- Helpers.cs
- CollectionViewSource.cs
- PropertyEmitterBase.cs
- SoapFault.cs
- InvokeMethodActivity.cs
- RandomNumberGenerator.cs
- AmbientLight.cs
- JoinSymbol.cs
- TcpClientCredentialType.cs
- Mutex.cs
- FormCollection.cs
- SchemaImporterExtensionsSection.cs
- PartitionedStream.cs
- XPathDocumentIterator.cs
- ControlLocalizer.cs
- PassportAuthentication.cs
- HtmlInputFile.cs
- TemplateAction.cs
- EditingCommands.cs
- Function.cs
- EntityDataSourceSelectedEventArgs.cs
- ScrollChrome.cs
- SecurityChannelListener.cs
- Point.cs
- TraceHandler.cs
- MergeFailedEvent.cs
- TerminatorSinks.cs
- Clause.cs
- CustomCategoryAttribute.cs
- ISAPIRuntime.cs
- Debug.cs
- TypeSemantics.cs
- SQLByteStorage.cs
- SmiMetaDataProperty.cs
- ApplicationHost.cs
- IdentityManager.cs
- SystemIcmpV4Statistics.cs
- AlignmentXValidation.cs
- IInstanceTable.cs
- FlowDocumentPageViewerAutomationPeer.cs
- EndpointBehaviorElementCollection.cs
- EntityDataSourceView.cs
- ProxyGenerator.cs
- GradientSpreadMethodValidation.cs
- MemberHolder.cs
- DesignerOptionService.cs
- MarshalByRefObject.cs
- KeyPressEvent.cs
- TextRange.cs
- Documentation.cs
- SpecialNameAttribute.cs
- Pair.cs
- ScriptingJsonSerializationSection.cs
- AuthenticationConfig.cs
- ControlValuePropertyAttribute.cs
- GuidelineSet.cs
- FamilyTypeface.cs
- ParseChildrenAsPropertiesAttribute.cs
- ListViewCommandEventArgs.cs
- DynamicQueryableWrapper.cs
- AmbientLight.cs
- BackStopAuthenticationModule.cs
- MediaSystem.cs
- ImageUrlEditor.cs
- RequestQueryParser.cs