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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BaseTreeIterator.cs
- IndexedWhereQueryOperator.cs
- TimersDescriptionAttribute.cs
- ServiceOperationViewControl.cs
- DataControlFieldCollection.cs
- LineSegment.cs
- LifetimeServices.cs
- EdmFunction.cs
- PrincipalPermission.cs
- ListComponentEditor.cs
- oledbconnectionstring.cs
- UpdatePanelTriggerCollection.cs
- ProfilePropertyMetadata.cs
- CompositeFontParser.cs
- DragCompletedEventArgs.cs
- ComplexBindingPropertiesAttribute.cs
- SqlInternalConnectionTds.cs
- PageContentAsyncResult.cs
- Span.cs
- NullableLongAverageAggregationOperator.cs
- TemplateField.cs
- EventProperty.cs
- RequestResizeEvent.cs
- RotateTransform.cs
- _SSPIWrapper.cs
- BezierSegment.cs
- ValueTable.cs
- __FastResourceComparer.cs
- MetabaseSettings.cs
- BamlBinaryReader.cs
- securitycriticaldataClass.cs
- SetMemberBinder.cs
- Certificate.cs
- Rfc2898DeriveBytes.cs
- SourceFilter.cs
- ValidationUtility.cs
- xmlformatgeneratorstatics.cs
- ConfigurationSectionCollection.cs
- VersionPair.cs
- ReadingWritingEntityEventArgs.cs
- TextParentUndoUnit.cs
- GridViewCancelEditEventArgs.cs
- AsymmetricKeyExchangeDeformatter.cs
- TranslateTransform.cs
- ResourceSet.cs
- Models.cs
- InheritablePropertyChangeInfo.cs
- SQlBooleanStorage.cs
- ISCIIEncoding.cs
- PointAnimationUsingKeyFrames.cs
- MaterializeFromAtom.cs
- Button.cs
- Duration.cs
- SimpleBitVector32.cs
- QueryContinueDragEvent.cs
- CommandEventArgs.cs
- TextRunProperties.cs
- LifetimeServices.cs
- XmlDataDocument.cs
- RadialGradientBrush.cs
- AssemblyBuilder.cs
- ResolveNameEventArgs.cs
- DataServiceRequestException.cs
- SafeSecurityHelper.cs
- WinInetCache.cs
- JoinCqlBlock.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- NativeMethodsOther.cs
- Tokenizer.cs
- LicenseProviderAttribute.cs
- Header.cs
- ConnectAlgorithms.cs
- ACE.cs
- TableChangeProcessor.cs
- PointF.cs
- ConvertersCollection.cs
- UnsafeNativeMethodsCLR.cs
- DirectoryObjectSecurity.cs
- WaitForChangedResult.cs
- HttpListenerTimeoutManager.cs
- XmlConvert.cs
- EntitySetBaseCollection.cs
- NetworkAddressChange.cs
- securestring.cs
- FacetDescription.cs
- PreservationFileWriter.cs
- SocketPermission.cs
- DataGridRowAutomationPeer.cs
- SettingsPropertyIsReadOnlyException.cs
- PositiveTimeSpanValidatorAttribute.cs
- FormViewUpdateEventArgs.cs
- codemethodreferenceexpression.cs
- TextCharacters.cs
- StrokeNodeEnumerator.cs
- PersonalizationStateInfo.cs
- SerializerWriterEventHandlers.cs
- QuaternionRotation3D.cs
- StringReader.cs
- CodeAccessSecurityEngine.cs
- Pointer.cs