Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Compilation / ExpressionEditorAttribute.cs / 1 / ExpressionEditorAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System.Security.Permissions; [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ExpressionEditorAttribute : Attribute { private string _editorTypeName; public ExpressionEditorAttribute(Type type) : this((type != null) ? type.AssemblyQualifiedName : null) { } public ExpressionEditorAttribute(string typeName) { if (String.IsNullOrEmpty(typeName)) { throw new ArgumentNullException("typeName"); } _editorTypeName = typeName; } public string EditorTypeName { get { return _editorTypeName; } } public override bool Equals(object obj) { if (obj == this) { return true; } ExpressionEditorAttribute other = obj as ExpressionEditorAttribute; return ((other != null) && (other.EditorTypeName == EditorTypeName)); } public override int GetHashCode() { return EditorTypeName.GetHashCode(); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SHA256Managed.cs
- ValidationErrorEventArgs.cs
- PropertySourceInfo.cs
- BitmapEffect.cs
- ObjectConverter.cs
- GridItemProviderWrapper.cs
- CollectionDataContract.cs
- FontClient.cs
- SiteMapProvider.cs
- ImpersonateTokenRef.cs
- InternalDispatchObject.cs
- StringValidatorAttribute.cs
- FontStyle.cs
- ItemChangedEventArgs.cs
- CheckoutException.cs
- WebPartTransformerAttribute.cs
- WebReferencesBuildProvider.cs
- XmlArrayItemAttributes.cs
- BaseCodeDomTreeGenerator.cs
- WriteFileContext.cs
- HttpRuntimeSection.cs
- SystemInformation.cs
- InkPresenter.cs
- DataBindingList.cs
- Point3D.cs
- TakeOrSkipQueryOperator.cs
- SettingsPropertyNotFoundException.cs
- activationcontext.cs
- DiscreteKeyFrames.cs
- XmlSchemaComplexContentExtension.cs
- BinaryFormatterWriter.cs
- SingleAnimation.cs
- Module.cs
- ImageMapEventArgs.cs
- Helpers.cs
- UserControl.cs
- Vector3dCollection.cs
- LocalClientSecuritySettingsElement.cs
- IOException.cs
- Localizer.cs
- CompositeFontInfo.cs
- uribuilder.cs
- TiffBitmapDecoder.cs
- SafeFileMappingHandle.cs
- Main.cs
- ZoneLinkButton.cs
- Cursors.cs
- WindowsPen.cs
- CodeBinaryOperatorExpression.cs
- SourceElementsCollection.cs
- PathTooLongException.cs
- ExpressionBinding.cs
- ResourceDictionaryCollection.cs
- ErrorStyle.cs
- ColorConvertedBitmap.cs
- TypeUtil.cs
- IncomingWebResponseContext.cs
- DataGridRowHeader.cs
- RotateTransform.cs
- TreeViewEvent.cs
- OneOfElement.cs
- SimpleMailWebEventProvider.cs
- _Semaphore.cs
- XmlSerializer.cs
- DataGridViewColumnEventArgs.cs
- NamespaceMapping.cs
- ClientSettingsProvider.cs
- FontEditor.cs
- AppSecurityManager.cs
- ComponentCollection.cs
- ItemCollection.cs
- WebResponse.cs
- ClearTypeHintValidation.cs
- CharacterString.cs
- followingquery.cs
- GregorianCalendar.cs
- FacetChecker.cs
- ClientSettingsStore.cs
- UserMapPath.cs
- ValidatorCompatibilityHelper.cs
- DataIdProcessor.cs
- Facet.cs
- Point4DConverter.cs
- StringStorage.cs
- ToolZoneDesigner.cs
- EncryptedKey.cs
- XmlWhitespace.cs
- OperationResponse.cs
- _LocalDataStore.cs
- OutgoingWebRequestContext.cs
- EmptyControlCollection.cs
- ErrorFormatterPage.cs
- BitArray.cs
- ManagedWndProcTracker.cs
- NegotiationTokenAuthenticatorStateCache.cs
- GifBitmapDecoder.cs
- safemediahandle.cs
- RichTextBoxAutomationPeer.cs
- StylusDownEventArgs.cs
- BitmapEffectGroup.cs