Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecurityElement.cs
- Matrix.cs
- Transform3DGroup.cs
- NetworkInformationPermission.cs
- GeneralTransformGroup.cs
- StringArrayConverter.cs
- Int32Animation.cs
- MachineKeyValidationConverter.cs
- MDIControlStrip.cs
- JsonXmlDataContract.cs
- SynchronizedDispatch.cs
- EmbeddedMailObject.cs
- WindowsImpersonationContext.cs
- ViewCellSlot.cs
- CharacterHit.cs
- SafeNativeMethods.cs
- LazyTextWriterCreator.cs
- DashStyle.cs
- EventWaitHandleSecurity.cs
- InputLanguageEventArgs.cs
- SynchronizingStream.cs
- EntitySqlQueryCacheEntry.cs
- GridViewColumnHeaderAutomationPeer.cs
- _LoggingObject.cs
- Array.cs
- HttpListenerRequestUriBuilder.cs
- TextProviderWrapper.cs
- TimelineGroup.cs
- ChannelSinkStacks.cs
- LongMinMaxAggregationOperator.cs
- FileSystemEventArgs.cs
- CompilerWrapper.cs
- ExpressionHelper.cs
- ObjectItemCachedAssemblyLoader.cs
- DragEventArgs.cs
- Missing.cs
- AttachedAnnotationChangedEventArgs.cs
- NameSpaceExtractor.cs
- EpmCustomContentSerializer.cs
- MenuItemStyleCollectionEditor.cs
- VariantWrapper.cs
- DataMisalignedException.cs
- TemplatedMailWebEventProvider.cs
- AutomationPatternInfo.cs
- DataGridTableStyleMappingNameEditor.cs
- SynchronizedReadOnlyCollection.cs
- MachineKeySection.cs
- ToolBarTray.cs
- VarInfo.cs
- TwoPhaseCommit.cs
- RoleService.cs
- Visual3DCollection.cs
- X509CertificateCollection.cs
- StrokeNodeData.cs
- ApplicationSecurityInfo.cs
- ButtonAutomationPeer.cs
- AccessKeyManager.cs
- DataGridLength.cs
- BookmarkWorkItem.cs
- TokenBasedSet.cs
- LeftCellWrapper.cs
- RequestDescription.cs
- DbMetaDataColumnNames.cs
- HistoryEventArgs.cs
- ExpandoClass.cs
- MimeBasePart.cs
- ArrayExtension.cs
- ButtonStandardAdapter.cs
- DesignerAdapterUtil.cs
- ActiveXContainer.cs
- Types.cs
- OleDbFactory.cs
- ResourceDisplayNameAttribute.cs
- QilGenerator.cs
- ObjectListSelectEventArgs.cs
- HandlerBase.cs
- WebPartConnectionsCancelVerb.cs
- QueryStringConverter.cs
- StorageSetMapping.cs
- PictureBox.cs
- AttributeEmitter.cs
- PartManifestEntry.cs
- DataRow.cs
- FaultContext.cs
- TextChange.cs
- RegexCharClass.cs
- RuntimeWrappedException.cs
- DataSourceControl.cs
- DataTableClearEvent.cs
- ImageSourceTypeConverter.cs
- RecordsAffectedEventArgs.cs
- CapabilitiesPattern.cs
- Helper.cs
- AsyncWaitHandle.cs
- LazyLoadBehavior.cs
- ToolTipAutomationPeer.cs
- NativeCppClassAttribute.cs
- CharAnimationBase.cs
- BitmapEffectGroup.cs
- InlineUIContainer.cs