Code:
/ FX-1434 / FX-1434 / 1.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
- WebServiceResponseDesigner.cs
- OwnerDrawPropertyBag.cs
- ContentType.cs
- StickyNoteContentControl.cs
- CredentialCache.cs
- BindingContext.cs
- CapabilitiesPattern.cs
- SmiGettersStream.cs
- ProcessManager.cs
- ScriptServiceAttribute.cs
- ProgressChangedEventArgs.cs
- TaskbarItemInfo.cs
- AssemblySettingAttributes.cs
- BrowserDefinitionCollection.cs
- TagPrefixInfo.cs
- ConfigurationProperty.cs
- mil_sdk_version.cs
- EdmComplexPropertyAttribute.cs
- PathFigure.cs
- CustomTypeDescriptor.cs
- XmlSortKeyAccumulator.cs
- CodeConstructor.cs
- SetterBase.cs
- InfiniteIntConverter.cs
- AnnotationMap.cs
- TimersDescriptionAttribute.cs
- InstalledFontCollection.cs
- CollectionContainer.cs
- InternalBase.cs
- MetabaseServerConfig.cs
- TimeSpanConverter.cs
- TraceHandler.cs
- SymbolMethod.cs
- MostlySingletonList.cs
- ResetableIterator.cs
- SqlMethodTransformer.cs
- StringAnimationBase.cs
- EntityProviderFactory.cs
- FixedSOMPage.cs
- TransformerInfo.cs
- DataGridViewSelectedCellCollection.cs
- ExclusiveTcpListener.cs
- SerialErrors.cs
- HtmlInputFile.cs
- DataGridItemAutomationPeer.cs
- BuildProviderUtils.cs
- DelegateTypeInfo.cs
- QueryContinueDragEventArgs.cs
- UrlEncodedParameterWriter.cs
- FrameworkTextComposition.cs
- ExceptionHandler.cs
- DataGridRow.cs
- RenderCapability.cs
- SchemaSetCompiler.cs
- ClientSideQueueItem.cs
- VectorKeyFrameCollection.cs
- ExpressionNode.cs
- rsa.cs
- CqlErrorHelper.cs
- HttpHandlersSection.cs
- IntegerValidatorAttribute.cs
- ComAwareEventInfo.cs
- ColorConverter.cs
- DataStreams.cs
- SoapBinding.cs
- QilDataSource.cs
- RepeaterDataBoundAdapter.cs
- MatchingStyle.cs
- Subset.cs
- FloaterParaClient.cs
- ColorIndependentAnimationStorage.cs
- ISAPIWorkerRequest.cs
- StorageAssociationSetMapping.cs
- CallSite.cs
- SqlDataSourceFilteringEventArgs.cs
- CodeStatement.cs
- RoleGroup.cs
- RegistryExceptionHelper.cs
- MemberHolder.cs
- FilteredDataSetHelper.cs
- CodeDelegateCreateExpression.cs
- ModelFunction.cs
- ContextMenuStrip.cs
- XappLauncher.cs
- TargetParameterCountException.cs
- OleDbInfoMessageEvent.cs
- VarRefManager.cs
- ObjectSpanRewriter.cs
- DocumentApplicationJournalEntry.cs
- ServiceReference.cs
- ConstraintManager.cs
- TypeConvertions.cs
- BadImageFormatException.cs
- DBNull.cs
- DataGridViewRowCancelEventArgs.cs
- TiffBitmapDecoder.cs
- Certificate.cs
- ObfuscationAttribute.cs
- TransactionContextManager.cs
- FreeFormDragDropManager.cs