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
- ContractMapping.cs
- HebrewCalendar.cs
- XmlFormatExtensionPointAttribute.cs
- DataGridViewCellStyleConverter.cs
- Int32.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- CompareValidator.cs
- HTTPNotFoundHandler.cs
- _AutoWebProxyScriptWrapper.cs
- DataSysAttribute.cs
- DiscriminatorMap.cs
- QueryPageSettingsEventArgs.cs
- DefaultObjectMappingItemCollection.cs
- FileUpload.cs
- XmlTextReaderImplHelpers.cs
- BamlWriter.cs
- TextEndOfSegment.cs
- UserPreferenceChangingEventArgs.cs
- SQLResource.cs
- RenderingBiasValidation.cs
- XmlNavigatorFilter.cs
- DatagridviewDisplayedBandsData.cs
- RestHandlerFactory.cs
- BitmapImage.cs
- DataGridViewTextBoxEditingControl.cs
- metadatamappinghashervisitor.cs
- WebConfigManager.cs
- BinaryQueryOperator.cs
- DataSourceSelectArguments.cs
- PrintPreviewGraphics.cs
- AssemblyNameEqualityComparer.cs
- ObjectDataSource.cs
- filewebrequest.cs
- RouteValueDictionary.cs
- DataGridSortCommandEventArgs.cs
- DocobjHost.cs
- SecurityTokenRequirement.cs
- BufferedWebEventProvider.cs
- TraceData.cs
- SurrogateChar.cs
- _UncName.cs
- SuppressIldasmAttribute.cs
- SqlDataSourceRefreshSchemaForm.cs
- EventLogEntry.cs
- assemblycache.cs
- XmlSchemaGroupRef.cs
- SqlXml.cs
- CodeTypeReferenceExpression.cs
- ApplicationId.cs
- ExpressionDumper.cs
- SqlMethods.cs
- Proxy.cs
- BitmapImage.cs
- XPathNavigator.cs
- TogglePatternIdentifiers.cs
- DataColumnSelectionConverter.cs
- WinEventWrap.cs
- ResXResourceWriter.cs
- KeyPressEvent.cs
- ConfigXmlWhitespace.cs
- ProcessProtocolHandler.cs
- SafePEFileHandle.cs
- ColorKeyFrameCollection.cs
- User.cs
- StreamingContext.cs
- ScalarOps.cs
- diagnosticsswitches.cs
- PeerNameRegistration.cs
- ClientProxyGenerator.cs
- XamlToRtfParser.cs
- FactoryGenerator.cs
- WSTrustDec2005.cs
- ZipArchive.cs
- CodeMemberMethod.cs
- ClonableStack.cs
- TextServicesLoader.cs
- StyleModeStack.cs
- Duration.cs
- CuspData.cs
- xml.cs
- QueryOutputWriter.cs
- PartBasedPackageProperties.cs
- OleAutBinder.cs
- SourceFilter.cs
- XamlTreeBuilderBamlRecordWriter.cs
- LinearKeyFrames.cs
- AsymmetricAlgorithm.cs
- MergeFilterQuery.cs
- ConnectionProviderAttribute.cs
- DictionaryTraceRecord.cs
- LinkConverter.cs
- ReflectionUtil.cs
- TypedServiceOperationListItem.cs
- CustomAttributeBuilder.cs
- MetadataResolver.cs
- NumberSubstitution.cs
- DataViewSetting.cs
- DependencySource.cs
- ExecutionEngineException.cs
- TraceFilter.cs