Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. //------------------------------------------------------------------------------ // // 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
- WebServicesSection.cs
- RemotingHelper.cs
- IdentityHolder.cs
- CroppedBitmap.cs
- AdjustableArrowCap.cs
- SystemEvents.cs
- ProfileService.cs
- StateBag.cs
- ScrollChrome.cs
- Funcletizer.cs
- WebConfigurationManager.cs
- OdbcConnectionString.cs
- SolidColorBrush.cs
- CaseDesigner.xaml.cs
- BindUriHelper.cs
- NetPipeSectionData.cs
- DataPager.cs
- DataTableReader.cs
- ProgressBarAutomationPeer.cs
- IApplicationTrustManager.cs
- DispatchWrapper.cs
- DataGridTextBoxColumn.cs
- TextCollapsingProperties.cs
- BuildResult.cs
- CellIdBoolean.cs
- FrameworkElement.cs
- MetabaseSettingsIis7.cs
- CustomCategoryAttribute.cs
- ViewStateException.cs
- VirtualPathProvider.cs
- ListBoxItemWrapperAutomationPeer.cs
- SamlDoNotCacheCondition.cs
- Utils.cs
- SchemaCollectionPreprocessor.cs
- XmlKeywords.cs
- TdsParser.cs
- NativeActivityFaultContext.cs
- NullRuntimeConfig.cs
- SuppressMergeCheckAttribute.cs
- SpecularMaterial.cs
- CustomAttributeBuilder.cs
- LocalBuilder.cs
- FlatButtonAppearance.cs
- _FtpDataStream.cs
- SchemaImporterExtensionElement.cs
- ResponseBodyWriter.cs
- MethodImplAttribute.cs
- SearchForVirtualItemEventArgs.cs
- Accessors.cs
- MeasureData.cs
- UiaCoreTypesApi.cs
- WsdlImporterElementCollection.cs
- CompiledRegexRunnerFactory.cs
- CharEnumerator.cs
- DictionarySectionHandler.cs
- Helpers.cs
- CodeDelegateInvokeExpression.cs
- DomainConstraint.cs
- DbParameterCollection.cs
- KnownBoxes.cs
- ScaleTransform3D.cs
- ToolStripHighContrastRenderer.cs
- CharacterShapingProperties.cs
- TextContainerChangedEventArgs.cs
- PersistChildrenAttribute.cs
- ColorMap.cs
- ColumnCollection.cs
- NavigationHelper.cs
- TreeNodeMouseHoverEvent.cs
- NameNode.cs
- EditorZone.cs
- RefreshEventArgs.cs
- EndOfStreamException.cs
- CodeAttributeArgumentCollection.cs
- NavigatingCancelEventArgs.cs
- DirectionalLight.cs
- TextTreeExtractElementUndoUnit.cs
- CfgArc.cs
- NotSupportedException.cs
- MenuItem.cs
- Camera.cs
- PanningMessageFilter.cs
- TransformProviderWrapper.cs
- _SSPISessionCache.cs
- SelectedCellsCollection.cs
- Compress.cs
- ApplicationSettingsBase.cs
- OracleRowUpdatedEventArgs.cs
- ProcessModule.cs
- JoinElimination.cs
- Int32Storage.cs
- PasswordPropertyTextAttribute.cs
- PointLightBase.cs
- SettingsProperty.cs
- BitFlagsGenerator.cs
- DNS.cs
- GlobalProxySelection.cs
- CaseInsensitiveHashCodeProvider.cs
- XmlAtomicValue.cs
- DynamicEndpointElement.cs