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
- RelationshipEnd.cs
- TiffBitmapDecoder.cs
- ZipQueryOperator.cs
- MenuAutomationPeer.cs
- SwitchCase.cs
- UrlAuthorizationModule.cs
- SimpleExpression.cs
- ProtocolsConfigurationEntry.cs
- ContractNamespaceAttribute.cs
- ObjectDataSourceMethodEventArgs.cs
- DragStartedEventArgs.cs
- RuleInfoComparer.cs
- EnumerableRowCollectionExtensions.cs
- StrokeCollectionDefaultValueFactory.cs
- GeneralTransform3DGroup.cs
- __FastResourceComparer.cs
- RadioButtonList.cs
- SqlCacheDependency.cs
- _NegoState.cs
- DataSourceControl.cs
- ByteStreamGeometryContext.cs
- ISAPIRuntime.cs
- WpfXamlType.cs
- EventLogInformation.cs
- Line.cs
- FilterFactory.cs
- ScopedKnownTypes.cs
- SerializationFieldInfo.cs
- DebugHandleTracker.cs
- HebrewCalendar.cs
- Span.cs
- Int64AnimationBase.cs
- IERequestCache.cs
- ResourceContainer.cs
- TextRunCacheImp.cs
- GridViewDeletedEventArgs.cs
- ParserStreamGeometryContext.cs
- AnalyzedTree.cs
- ParagraphVisual.cs
- MouseGestureConverter.cs
- HtmlEmptyTagControlBuilder.cs
- HttpDictionary.cs
- StylusLogic.cs
- NetworkAddressChange.cs
- ServiceBusyException.cs
- FormatterServices.cs
- HttpChannelListener.cs
- DataGridColumnEventArgs.cs
- SHA1.cs
- ListMarkerLine.cs
- FrameworkContextData.cs
- InputGestureCollection.cs
- ShaderRenderModeValidation.cs
- ApplicationException.cs
- SequenceDesigner.cs
- AuthenticatingEventArgs.cs
- WebPartTracker.cs
- WebErrorHandler.cs
- Pkcs9Attribute.cs
- PeerNameResolver.cs
- _ShellExpression.cs
- XPathNodeHelper.cs
- OdbcConnectionHandle.cs
- InteropAutomationProvider.cs
- OpenTypeLayoutCache.cs
- ObjectDataSourceDisposingEventArgs.cs
- CqlLexer.cs
- ObjectToken.cs
- TransportChannelListener.cs
- QueuedDeliveryRequirementsMode.cs
- ObservableDictionary.cs
- Slider.cs
- Package.cs
- ThreadStartException.cs
- SimpleRecyclingCache.cs
- EncryptedData.cs
- ApplicationServiceManager.cs
- BindingNavigatorDesigner.cs
- AsyncOperation.cs
- SettingsPropertyValue.cs
- NotifyIcon.cs
- XmlSchemaAnyAttribute.cs
- DBBindings.cs
- EastAsianLunisolarCalendar.cs
- StylusButtonEventArgs.cs
- SafeFileMapViewHandle.cs
- SmtpAuthenticationManager.cs
- OleDbStruct.cs
- CommandDevice.cs
- XmlMtomReader.cs
- PingOptions.cs
- CachedFontFace.cs
- BufferedMessageData.cs
- ConfigXmlElement.cs
- InvalidFilterCriteriaException.cs
- InvalidateEvent.cs
- ClaimSet.cs
- DataGridViewRowHeaderCell.cs
- TCEAdapterGenerator.cs
- IndexExpression.cs