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
- PriorityQueue.cs
- _HeaderInfoTable.cs
- Coordinator.cs
- ListParagraph.cs
- SqlWebEventProvider.cs
- DictionaryEntry.cs
- ConfigXmlSignificantWhitespace.cs
- precedingquery.cs
- PageSettings.cs
- PackageDigitalSignatureManager.cs
- PEFileEvidenceFactory.cs
- FullTextBreakpoint.cs
- XamlPathDataSerializer.cs
- FolderBrowserDialog.cs
- PackageStore.cs
- NotificationContext.cs
- ContextMenu.cs
- ProcessMessagesAsyncResult.cs
- PlacementWorkspace.cs
- DataSourceUtil.cs
- ListChunk.cs
- BorderGapMaskConverter.cs
- WebPartManager.cs
- milrender.cs
- TypeSystem.cs
- Converter.cs
- AsymmetricSignatureFormatter.cs
- IgnoreFileBuildProvider.cs
- WindowsIdentity.cs
- DictionaryChange.cs
- SplitterPanelDesigner.cs
- MetadataArtifactLoaderCompositeFile.cs
- CodeDirectionExpression.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- Evidence.cs
- BoolExpressionVisitors.cs
- InternalConfirm.cs
- WebBrowser.cs
- MulticastNotSupportedException.cs
- DoWorkEventArgs.cs
- RuntimeWrappedException.cs
- dbenumerator.cs
- SrgsToken.cs
- altserialization.cs
- CardSpaceException.cs
- WebPartConnectionsConnectVerb.cs
- UserControlParser.cs
- SendActivityDesignerTheme.cs
- ValidationError.cs
- AssociationSet.cs
- DesignTimeVisibleAttribute.cs
- MailAddressCollection.cs
- ComboBoxRenderer.cs
- ParallelTimeline.cs
- FormsIdentity.cs
- BinHexEncoding.cs
- DynamicEndpoint.cs
- SafeTimerHandle.cs
- RunWorkerCompletedEventArgs.cs
- XPathPatternParser.cs
- KnownBoxes.cs
- XmlIterators.cs
- UserControl.cs
- FamilyTypefaceCollection.cs
- LazyTextWriterCreator.cs
- DefaultValueConverter.cs
- InfiniteIntConverter.cs
- LogLogRecordHeader.cs
- IdSpace.cs
- RemotingSurrogateSelector.cs
- BitmapEffectRenderDataResource.cs
- DocumentOrderComparer.cs
- AppearanceEditorPart.cs
- ClientConfigurationHost.cs
- PlacementWorkspace.cs
- PropertyManager.cs
- MailMessage.cs
- TemplateApplicationHelper.cs
- DesignerVerbToolStripMenuItem.cs
- DeferredTextReference.cs
- TabControlCancelEvent.cs
- Image.cs
- HijriCalendar.cs
- InputLanguageCollection.cs
- EntityDataSourceChangedEventArgs.cs
- CqlLexer.cs
- UnsafeNativeMethods.cs
- OuterGlowBitmapEffect.cs
- XmlNamespaceMapping.cs
- SpeechDetectedEventArgs.cs
- SmtpNegotiateAuthenticationModule.cs
- ReflectionUtil.cs
- Int32CollectionConverter.cs
- SettingsSavedEventArgs.cs
- PointCollectionConverter.cs
- InvalidPropValue.cs
- XhtmlTextWriter.cs
- METAHEADER.cs
- ImageIndexConverter.cs
- TextServicesHost.cs