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
- DesignerView.cs
- Semaphore.cs
- HtmlShim.cs
- UserControlBuildProvider.cs
- RouteItem.cs
- CompoundFileStreamReference.cs
- ToolStripItemClickedEventArgs.cs
- rsa.cs
- HtmlElementCollection.cs
- AttachInfo.cs
- DataGridViewRowCollection.cs
- XmlMapping.cs
- Pair.cs
- DbParameterCollection.cs
- Qualifier.cs
- TreeView.cs
- TextServicesProperty.cs
- SetStateEventArgs.cs
- TemplateInstanceAttribute.cs
- documentation.cs
- CopyEncoder.cs
- SqlCachedBuffer.cs
- UrlPropertyAttribute.cs
- ExceptionHandler.cs
- DateTimeConstantAttribute.cs
- AssemblyNameProxy.cs
- ManipulationStartedEventArgs.cs
- SqlParameterizer.cs
- Utils.cs
- ProcessStartInfo.cs
- DataServiceHost.cs
- DataServiceQueryException.cs
- ReferenceCountedObject.cs
- TransformerConfigurationWizardBase.cs
- LineSegment.cs
- FileAuthorizationModule.cs
- SHA384Managed.cs
- StreamInfo.cs
- Bezier.cs
- TPLETWProvider.cs
- Configuration.cs
- WorkflowServiceBehavior.cs
- SafeCoTaskMem.cs
- SetStoryboardSpeedRatio.cs
- TemplateControl.cs
- WebPartUserCapability.cs
- EdmProperty.cs
- BezierSegment.cs
- LineBreakRecord.cs
- InkCanvasFeedbackAdorner.cs
- ObservableCollection.cs
- SecurityAppliedMessage.cs
- CssClassPropertyAttribute.cs
- Main.cs
- WebConfigurationFileMap.cs
- EntityDataSourceDesigner.cs
- SettingsPropertyValueCollection.cs
- CodeTypeDeclarationCollection.cs
- ScriptingRoleServiceSection.cs
- MemberNameValidator.cs
- DocumentGridContextMenu.cs
- LoginUtil.cs
- RepeaterItemEventArgs.cs
- StylusPointPropertyInfo.cs
- HttpHandlersSection.cs
- SiteMapNodeItem.cs
- Size.cs
- SqlVisitor.cs
- CalendarDay.cs
- NamespaceMapping.cs
- HttpCookie.cs
- MimeFormImporter.cs
- ThreadPool.cs
- ValidationRule.cs
- IntSecurity.cs
- JpegBitmapEncoder.cs
- HttpDigestClientCredential.cs
- Merger.cs
- EntitySqlQueryState.cs
- CodePageEncoding.cs
- OneOfScalarConst.cs
- PropertyConverter.cs
- ExceptionRoutedEventArgs.cs
- CaseExpr.cs
- FamilyMapCollection.cs
- ImageAutomationPeer.cs
- ReliableMessagingVersionConverter.cs
- SessionState.cs
- TableRow.cs
- StandardBindingElementCollection.cs
- EndpointDispatcher.cs
- StorageFunctionMapping.cs
- ToolTipAutomationPeer.cs
- GridViewSortEventArgs.cs
- ConfigurationManagerHelperFactory.cs
- Point3DValueSerializer.cs
- AssignDesigner.xaml.cs
- UdpRetransmissionSettings.cs
- FixedSOMPage.cs
- GradientStopCollection.cs