Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Compilation / ExpressionEditorAttribute.cs / 1305376 / ExpressionEditorAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System.Security.Permissions; [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)] 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(); } } } // 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
- EntityDataSourceChangingEventArgs.cs
- unsafeIndexingFilterStream.cs
- TextFormatterContext.cs
- FillRuleValidation.cs
- CommunicationException.cs
- Int64Storage.cs
- Translator.cs
- DefaultMemberAttribute.cs
- DataTableCollection.cs
- NameValueConfigurationElement.cs
- OdbcEnvironment.cs
- PersistencePipeline.cs
- ExtendLockAsyncResult.cs
- SizeLimitedCache.cs
- TaskScheduler.cs
- PropertyMetadata.cs
- DrawingAttributesDefaultValueFactory.cs
- LineGeometry.cs
- MatchingStyle.cs
- ScriptDescriptor.cs
- HitTestResult.cs
- SkewTransform.cs
- AmbiguousMatchException.cs
- DocumentOrderQuery.cs
- XmlSerializationWriter.cs
- InstrumentationTracker.cs
- PolicyImporterElement.cs
- ImageButton.cs
- ThreadStaticAttribute.cs
- DataGridViewCellFormattingEventArgs.cs
- BitStack.cs
- AsymmetricSignatureDeformatter.cs
- MailMessage.cs
- CodeCastExpression.cs
- returneventsaver.cs
- PackagingUtilities.cs
- D3DImage.cs
- SamlSecurityTokenAuthenticator.cs
- RequestUriProcessor.cs
- CqlWriter.cs
- StringTraceRecord.cs
- TypeConverterAttribute.cs
- CreatingCookieEventArgs.cs
- TextTreeText.cs
- CommonEndpointBehaviorElement.cs
- HttpCachePolicyWrapper.cs
- MultiView.cs
- GeometryGroup.cs
- PackageRelationshipCollection.cs
- PatternMatchRules.cs
- ComponentGlyph.cs
- DataGridViewTopRowAccessibleObject.cs
- DocumentSequence.cs
- FormsAuthenticationConfiguration.cs
- SerializationAttributes.cs
- unitconverter.cs
- HotSpot.cs
- ToggleButtonAutomationPeer.cs
- EncoderExceptionFallback.cs
- DataGridViewHitTestInfo.cs
- Array.cs
- ChannelListenerBase.cs
- ValidationPropertyAttribute.cs
- HandlerMappingMemo.cs
- XmlElementList.cs
- CustomExpression.cs
- IntegerValidatorAttribute.cs
- CodeGen.cs
- DataListItem.cs
- Executor.cs
- CompilerCollection.cs
- SubstitutionResponseElement.cs
- PhoneCallDesigner.cs
- PageParserFilter.cs
- BuildProvider.cs
- SqlProfileProvider.cs
- WeakKeyDictionary.cs
- CodeMethodInvokeExpression.cs
- MimeWriter.cs
- ControlPropertyNameConverter.cs
- Accessible.cs
- MimePart.cs
- StrokeFIndices.cs
- SqlXmlStorage.cs
- TextServicesDisplayAttribute.cs
- LocatorPart.cs
- ListViewInsertedEventArgs.cs
- ReadOnlyTernaryTree.cs
- TokenDescriptor.cs
- FaultImportOptions.cs
- CorrelationManager.cs
- NativeMethods.cs
- TreeViewImageKeyConverter.cs
- DbReferenceCollection.cs
- GenericPrincipal.cs
- peersecurityelement.cs
- invalidudtexception.cs
- BoundField.cs
- TypeSystem.cs
- NavigationExpr.cs