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
- GetUserPreferenceRequest.cs
- SQlBooleanStorage.cs
- SqlXmlStorage.cs
- Substitution.cs
- SQLStringStorage.cs
- TextOptionsInternal.cs
- NavigationProperty.cs
- PersonalizableAttribute.cs
- OracleInternalConnection.cs
- BinarySerializer.cs
- CreateUserWizard.cs
- CustomExpression.cs
- GeneralTransformCollection.cs
- safePerfProviderHandle.cs
- DataGridrowEditEndingEventArgs.cs
- AutomationPatternInfo.cs
- ParagraphResult.cs
- MultiBindingExpression.cs
- MultiPropertyDescriptorGridEntry.cs
- RowToParametersTransformer.cs
- WebPartConnectionsDisconnectVerb.cs
- CursorConverter.cs
- SQLGuidStorage.cs
- CodeTypeParameter.cs
- VirtualizedItemProviderWrapper.cs
- WebPartZoneCollection.cs
- HttpServerChannel.cs
- MetadataCache.cs
- ConnectionProviderAttribute.cs
- xmlNames.cs
- HttpConfigurationSystem.cs
- TokenizerHelper.cs
- GroupStyle.cs
- Focus.cs
- MemberAssignmentAnalysis.cs
- JpegBitmapEncoder.cs
- PageParser.cs
- SecurityListenerSettingsLifetimeManager.cs
- StylusShape.cs
- ArrangedElement.cs
- SafeCryptContextHandle.cs
- ISessionStateStore.cs
- EncryptedType.cs
- EventLogPermissionEntryCollection.cs
- SR.cs
- KeyProperty.cs
- XmlCDATASection.cs
- Timeline.cs
- Matrix3D.cs
- CodeParameterDeclarationExpression.cs
- ParenthesizePropertyNameAttribute.cs
- EntitySetDataBindingList.cs
- IteratorAsyncResult.cs
- EventListener.cs
- Camera.cs
- PixelFormatConverter.cs
- MergeFilterQuery.cs
- ExportException.cs
- MobileControlDesigner.cs
- DefaultExpression.cs
- ChangesetResponse.cs
- EditorZoneBase.cs
- _ConnectionGroup.cs
- ConfigXmlSignificantWhitespace.cs
- SqlXml.cs
- SurrogateChar.cs
- Range.cs
- SchemaImporter.cs
- RadioButtonBaseAdapter.cs
- TextMarkerSource.cs
- AssertSection.cs
- DataQuery.cs
- RoleGroupCollection.cs
- ProxyWebPart.cs
- SHA1CryptoServiceProvider.cs
- CornerRadius.cs
- ReferenceConverter.cs
- TableHeaderCell.cs
- CodeTypeOfExpression.cs
- KeyboardEventArgs.cs
- StackBuilderSink.cs
- SqlXml.cs
- DataGridColumnCollection.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- XmlAnyElementAttribute.cs
- ScrollableControl.cs
- MimeMultiPart.cs
- TableProviderWrapper.cs
- SqlDataAdapter.cs
- HideDisabledControlAdapter.cs
- Matrix.cs
- ProvidersHelper.cs
- ListBox.cs
- SafeArrayRankMismatchException.cs
- XmlEntityReference.cs
- CellTreeNode.cs
- XmlSchemaObjectTable.cs
- SqlDataSourceCache.cs
- SizeConverter.cs
- UInt64Storage.cs