Code:
/ FX-1434 / FX-1434 / 1.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
- EndPoint.cs
- QueryComponents.cs
- InputProviderSite.cs
- safemediahandle.cs
- DetailsViewDeletedEventArgs.cs
- CryptoHandle.cs
- OpCopier.cs
- DataGridBeginningEditEventArgs.cs
- IsolatedStorage.cs
- ButtonColumn.cs
- Wildcard.cs
- StructureChangedEventArgs.cs
- ContainerUtilities.cs
- DbXmlEnabledProviderManifest.cs
- XmlElementList.cs
- ZeroOpNode.cs
- SelectionListDesigner.cs
- WorkflowMessageEventArgs.cs
- ComplexType.cs
- ContentElementAutomationPeer.cs
- BitmapInitialize.cs
- WorkflowApplication.cs
- ObjectKeyFrameCollection.cs
- NavigationProgressEventArgs.cs
- X509SecurityTokenAuthenticator.cs
- CodeArrayIndexerExpression.cs
- ObjectViewQueryResultData.cs
- LinqDataSourceInsertEventArgs.cs
- WmpBitmapEncoder.cs
- EntityProviderFactory.cs
- XmlSchemaParticle.cs
- _ContextAwareResult.cs
- WebUtil.cs
- LocalizableResourceBuilder.cs
- TraceHelpers.cs
- BooleanKeyFrameCollection.cs
- GuidTagList.cs
- Currency.cs
- ProxyElement.cs
- XmlSchemaSimpleContentExtension.cs
- XmlSchemaProviderAttribute.cs
- EventLogPermissionEntryCollection.cs
- AddInSegmentDirectoryNotFoundException.cs
- QilInvoke.cs
- RuleSettingsCollection.cs
- DefaultTraceListener.cs
- WindowsFormsHelpers.cs
- ApplicationSecurityManager.cs
- SolidBrush.cs
- StyleCollection.cs
- SendActivityDesigner.cs
- SafeReadContext.cs
- MessageQueueCriteria.cs
- ConfigXmlElement.cs
- ContentPosition.cs
- DiscoveryClientOutputChannel.cs
- MobileCategoryAttribute.cs
- SystemDiagnosticsSection.cs
- odbcmetadatafactory.cs
- UIElement3D.cs
- BigInt.cs
- QilCloneVisitor.cs
- HtmlAnchor.cs
- RegexWriter.cs
- XmlILIndex.cs
- ExtractorMetadata.cs
- FontUnitConverter.cs
- SchemaNotation.cs
- BuildProviderCollection.cs
- BamlReader.cs
- ContainerParaClient.cs
- BitArray.cs
- IndentedTextWriter.cs
- InputScopeConverter.cs
- TextBlock.cs
- WindowsPrincipal.cs
- CustomExpressionEventArgs.cs
- Separator.cs
- GetWorkflowTree.cs
- SvcMapFile.cs
- BasicHttpBindingElement.cs
- BaseProcessProtocolHandler.cs
- BuildProviderCollection.cs
- ContextMenuStripActionList.cs
- AddInToken.cs
- DataObject.cs
- SortFieldComparer.cs
- SqlDataSource.cs
- XmlSerializerVersionAttribute.cs
- Themes.cs
- SHA256.cs
- ZipIOExtraFieldPaddingElement.cs
- ITreeGenerator.cs
- Latin1Encoding.cs
- PropertyValueEditor.cs
- DataGridViewCellStyleConverter.cs
- XmlSchemaInclude.cs
- Int32EqualityComparer.cs
- TypeLoadException.cs
- AuthenticationModuleElement.cs