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
- ScaleTransform3D.cs
- brushes.cs
- AccessDataSourceWizardForm.cs
- StyleCollectionEditor.cs
- XLinq.cs
- ConfigPathUtility.cs
- FieldToken.cs
- DashStyle.cs
- TypeUnloadedException.cs
- FindCriteria11.cs
- AttributeEmitter.cs
- ServiceDescriptionImporter.cs
- DataRecordInternal.cs
- HtmlInputPassword.cs
- PluralizationServiceUtil.cs
- HostExecutionContextManager.cs
- ResourceDictionary.cs
- DebuggerAttributes.cs
- ClientFormsIdentity.cs
- AttributeEmitter.cs
- WaitForChangedResult.cs
- TraceEventCache.cs
- GifBitmapDecoder.cs
- GradientBrush.cs
- SettingsPropertyNotFoundException.cs
- XmlNamespaceMappingCollection.cs
- DefaultPrintController.cs
- TextRangeBase.cs
- Win32PrintDialog.cs
- EventlogProvider.cs
- DomNameTable.cs
- QilReference.cs
- RowToParametersTransformer.cs
- Crypto.cs
- SimpleFileLog.cs
- ReachPrintTicketSerializerAsync.cs
- listitem.cs
- StylusPointPropertyInfo.cs
- DataBinding.cs
- EdmComplexTypeAttribute.cs
- NTAccount.cs
- ObjectTokenCategory.cs
- SpecialNameAttribute.cs
- ExpressionBuilderCollection.cs
- CatalogPart.cs
- TreeNode.cs
- RedirectionProxy.cs
- CodeDomConfigurationHandler.cs
- SqlTopReducer.cs
- _LocalDataStore.cs
- LinkConverter.cs
- XmlAnyElementAttribute.cs
- VirtualizingStackPanel.cs
- WebPartsPersonalizationAuthorization.cs
- WebPartTracker.cs
- DbConnectionStringCommon.cs
- InvalidDataException.cs
- SetIterators.cs
- Type.cs
- AppSettingsExpressionBuilder.cs
- Geometry.cs
- HwndAppCommandInputProvider.cs
- DropShadowEffect.cs
- PerfCounters.cs
- SHA256Cng.cs
- WSUtilitySpecificationVersion.cs
- DictionaryEntry.cs
- DocumentApplicationDocumentViewer.cs
- RenderingBiasValidation.cs
- ToolStripSeparator.cs
- PrintController.cs
- WebPartHelpVerb.cs
- MemberRelationshipService.cs
- XmlBinaryWriterSession.cs
- DecoderBestFitFallback.cs
- VirtualizingPanel.cs
- WinInetCache.cs
- BuildProvider.cs
- _SafeNetHandles.cs
- PageTheme.cs
- CodeTypeParameter.cs
- DragDeltaEventArgs.cs
- ClientBuildManagerCallback.cs
- AppModelKnownContentFactory.cs
- DataGridViewColumnHeaderCell.cs
- SystemFonts.cs
- SqlDataSourceQueryEditor.cs
- Win32SafeHandles.cs
- AuthenticationService.cs
- Logging.cs
- PrintingPermission.cs
- ArrayList.cs
- MemoryRecordBuffer.cs
- PerformanceCountersElement.cs
- MdiWindowListStrip.cs
- Sql8ExpressionRewriter.cs
- TraceSection.cs
- PrintEvent.cs
- AnimationException.cs
- SemaphoreFullException.cs