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
![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
- ConfigurationPermission.cs
- FormViewUpdatedEventArgs.cs
- BinaryMethodMessage.cs
- XmlSchemaProviderAttribute.cs
- SelfIssuedTokenFactoryCredential.cs
- PrimitiveType.cs
- PolyBezierSegment.cs
- ResourceDefaultValueAttribute.cs
- GenericUriParser.cs
- ApplicationDirectory.cs
- Hashtable.cs
- SubstitutionList.cs
- DrawToolTipEventArgs.cs
- XmlChoiceIdentifierAttribute.cs
- RangeBase.cs
- FragmentNavigationEventArgs.cs
- Privilege.cs
- EntityObject.cs
- Evaluator.cs
- ControlEvent.cs
- httpserverutility.cs
- StatusBarItem.cs
- CorrelationValidator.cs
- SHA512Cng.cs
- DependencyPropertyHelper.cs
- StreamDocument.cs
- ControlPropertyNameConverter.cs
- SspiWrapper.cs
- ContextStaticAttribute.cs
- XPathScanner.cs
- ConfigurationManager.cs
- ConnectionManagementSection.cs
- QilTypeChecker.cs
- GridPatternIdentifiers.cs
- MtomMessageEncodingElement.cs
- UnsafeNativeMethods.cs
- CommentEmitter.cs
- VirtualDirectoryMappingCollection.cs
- ToolStripContainerActionList.cs
- EventBuilder.cs
- XPathDocumentIterator.cs
- RealProxy.cs
- AccessViolationException.cs
- ComponentCodeDomSerializer.cs
- MaterialCollection.cs
- Trace.cs
- LinqDataSourceValidationException.cs
- FormsAuthenticationUser.cs
- ServiceHttpModule.cs
- SQLBytes.cs
- XmlFormatExtensionPointAttribute.cs
- SqlConnectionManager.cs
- SizeValueSerializer.cs
- GridProviderWrapper.cs
- PermissionListSet.cs
- HotSpot.cs
- Translator.cs
- PenCursorManager.cs
- Pointer.cs
- RelationshipEnd.cs
- MetadataFile.cs
- XmlCustomFormatter.cs
- ImplicitInputBrush.cs
- BaseParser.cs
- Visitor.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SubtreeProcessor.cs
- EmulateRecognizeCompletedEventArgs.cs
- AccessControlList.cs
- DefaultAuthorizationContext.cs
- ContainerControlDesigner.cs
- ConfigurationPropertyAttribute.cs
- ItemChangedEventArgs.cs
- NameValueCollection.cs
- SessionPageStatePersister.cs
- ProjectionNode.cs
- ConstrainedDataObject.cs
- FormsIdentity.cs
- FacetChecker.cs
- DataGridViewCellFormattingEventArgs.cs
- InvokeGenerator.cs
- CodeNamespaceCollection.cs
- ImageDrawing.cs
- MetadataArtifactLoader.cs
- DataServiceQueryProvider.cs
- StrongNameKeyPair.cs
- CodeChecksumPragma.cs
- RequestCacheValidator.cs
- DataControlPagerLinkButton.cs
- HttpResponseHeader.cs
- FieldToken.cs
- XmlHelper.cs
- FocusTracker.cs
- JsonServiceDocumentSerializer.cs
- DomainUpDown.cs
- RelationHandler.cs
- SchemaCollectionPreprocessor.cs
- XmlSchemaComplexContentExtension.cs
- AssociationEndMember.cs
- SslStream.cs