Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AppSecurityManager.cs
- TextTabProperties.cs
- DocumentApplicationJournalEntry.cs
- ApplicationDirectory.cs
- BuildProviderUtils.cs
- LateBoundBitmapDecoder.cs
- ToolStripGripRenderEventArgs.cs
- Rule.cs
- FormViewUpdatedEventArgs.cs
- TextEditorLists.cs
- XamlPathDataSerializer.cs
- ToolStripDropDownClosedEventArgs.cs
- SequentialOutput.cs
- EpmCustomContentWriterNodeData.cs
- UrlMappingsSection.cs
- ToolBarTray.cs
- MultiSelector.cs
- RolePrincipal.cs
- FontFamily.cs
- EventLogPermissionEntry.cs
- DropSource.cs
- SmtpTransport.cs
- StrokeNodeOperations2.cs
- PanelStyle.cs
- versioninfo.cs
- TransactedReceiveData.cs
- NativeMethods.cs
- ServiceMemoryGates.cs
- AutoGeneratedField.cs
- Utility.cs
- TextWriter.cs
- ImmutableObjectAttribute.cs
- CodeTypeMember.cs
- UniqueEventHelper.cs
- ExtendedPropertyCollection.cs
- StorageAssociationTypeMapping.cs
- RunWorkerCompletedEventArgs.cs
- NativeMethods.cs
- ApplicationFileCodeDomTreeGenerator.cs
- InheritedPropertyChangedEventArgs.cs
- DrawListViewSubItemEventArgs.cs
- PrintController.cs
- X509Extension.cs
- DataGridViewCellStyleConverter.cs
- LabelExpression.cs
- WebPartUserCapability.cs
- SessionPageStateSection.cs
- TreeNodeEventArgs.cs
- Canvas.cs
- PageCodeDomTreeGenerator.cs
- WebPartChrome.cs
- WebChannelFactory.cs
- OutOfMemoryException.cs
- glyphs.cs
- EventLogInformation.cs
- BinaryObjectReader.cs
- PropertyMapper.cs
- HttpInputStream.cs
- SafeCertificateContext.cs
- QualificationDataAttribute.cs
- IItemContainerGenerator.cs
- DBAsyncResult.cs
- ObjectResult.cs
- OutputCacheSettingsSection.cs
- ExtendedProperty.cs
- TCPListener.cs
- PipelineModuleStepContainer.cs
- CodeArrayIndexerExpression.cs
- ColumnMapCopier.cs
- TranslateTransform3D.cs
- StructuralObject.cs
- _FtpControlStream.cs
- PointAnimation.cs
- XmlNodeChangedEventArgs.cs
- HtmlContainerControl.cs
- SizeChangedInfo.cs
- EmptyImpersonationContext.cs
- ComponentConverter.cs
- ListArgumentProvider.cs
- DataContractJsonSerializerOperationFormatter.cs
- ProxyFragment.cs
- RadioButtonList.cs
- XmlEncoding.cs
- PropertyEntry.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- isolationinterop.cs
- ElementProxy.cs
- EventDescriptor.cs
- WeakEventManager.cs
- NumberSubstitution.cs
- Selector.cs
- IpcChannel.cs
- DataFormats.cs
- ErrorsHelper.cs
- Parameter.cs
- LineServices.cs
- MdiWindowListItemConverter.cs
- XmlSerializer.cs
- DbParameterCollectionHelper.cs
- Mapping.cs