Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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(); } } } // 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)] [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.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SyndicationDeserializer.cs
- XmlMtomReader.cs
- TextReader.cs
- CompilerCollection.cs
- CannotUnloadAppDomainException.cs
- BamlRecords.cs
- SqlServer2KCompatibilityAnnotation.cs
- WorkflowFileItem.cs
- OracleFactory.cs
- DataGridViewCellValidatingEventArgs.cs
- SoapObjectInfo.cs
- TextContainerHelper.cs
- CustomErrorsSectionWrapper.cs
- XmlWriterSettings.cs
- ChannelCacheDefaults.cs
- LinqMaximalSubtreeNominator.cs
- RuleConditionDialog.Designer.cs
- FormatConvertedBitmap.cs
- RegisterResponseInfo.cs
- DescriptionAttribute.cs
- ByteAnimationUsingKeyFrames.cs
- TreeViewAutomationPeer.cs
- DirectoryInfo.cs
- BStrWrapper.cs
- CodeDomSerializerException.cs
- Window.cs
- XsltSettings.cs
- UnsafeNativeMethods.cs
- FontFaceLayoutInfo.cs
- ToolStripPanel.cs
- TypedRowGenerator.cs
- ImpersonateTokenRef.cs
- EventProviderWriter.cs
- EntityDataSourceSelectedEventArgs.cs
- ProfessionalColorTable.cs
- UIElementParagraph.cs
- FormViewInsertedEventArgs.cs
- ToolStripContainerDesigner.cs
- SimpleTypeResolver.cs
- WebPartPersonalization.cs
- PageDeviceFont.cs
- HttpServerChannel.cs
- InheritablePropertyChangeInfo.cs
- Cloud.cs
- RequiredAttributeAttribute.cs
- ImageKeyConverter.cs
- FlowDocumentFormatter.cs
- InvalidFilterCriteriaException.cs
- DynamicObjectAccessor.cs
- ArcSegment.cs
- BadImageFormatException.cs
- Transform3DGroup.cs
- ColumnCollection.cs
- _ListenerResponseStream.cs
- PDBReader.cs
- ComponentManagerBroker.cs
- DatatypeImplementation.cs
- PersonalizationEntry.cs
- WinEventQueueItem.cs
- XmlSchemaCompilationSettings.cs
- NgenServicingAttributes.cs
- QuadraticEase.cs
- ClientFormsAuthenticationMembershipProvider.cs
- RowBinding.cs
- handlecollector.cs
- ControlCachePolicy.cs
- DataGridViewHitTestInfo.cs
- TrackingConditionCollection.cs
- GlyphRun.cs
- PersianCalendar.cs
- CompiledQuery.cs
- AppDomainCompilerProxy.cs
- SHA1Managed.cs
- SafeRegistryHandle.cs
- EventDescriptor.cs
- GridViewDeletedEventArgs.cs
- TextTrailingWordEllipsis.cs
- COM2PictureConverter.cs
- RewritingSimplifier.cs
- SqlGatherProducedAliases.cs
- TdsParameterSetter.cs
- DefaultExpression.cs
- IdentityManager.cs
- StickyNoteAnnotations.cs
- CallbackValidator.cs
- NativeMethods.cs
- TemplateParser.cs
- FontCacheLogic.cs
- Queue.cs
- WebPartActionVerb.cs
- Array.cs
- TreeNodeStyleCollection.cs
- CryptoApi.cs
- SqlVisitor.cs
- TypedTableBaseExtensions.cs
- MethodExpression.cs
- SessionPageStatePersister.cs
- UnknownBitmapEncoder.cs
- OracleCommandBuilder.cs
- XslTransform.cs