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
- BitStream.cs
- FunctionMappingTranslator.cs
- DbConnectionClosed.cs
- Keyboard.cs
- WindowsEditBox.cs
- XmlMemberMapping.cs
- FactoryGenerator.cs
- TaiwanCalendar.cs
- FontInfo.cs
- PeerNameRegistration.cs
- MD5CryptoServiceProvider.cs
- StringPropertyBuilder.cs
- NamespaceTable.cs
- HttpCapabilitiesBase.cs
- IntersectQueryOperator.cs
- MasterPageParser.cs
- GradientBrush.cs
- LicFileLicenseProvider.cs
- RepeaterItemCollection.cs
- RectangleHotSpot.cs
- DependencyProperty.cs
- SspiNegotiationTokenProvider.cs
- XPathNodePointer.cs
- EventTask.cs
- NetworkInformationPermission.cs
- TreeNodeMouseHoverEvent.cs
- ConfigurationElementProperty.cs
- DynamicAttribute.cs
- MethodImplAttribute.cs
- TextUtf8RawTextWriter.cs
- Serializer.cs
- HtmlInputText.cs
- ExtendedPropertyDescriptor.cs
- ModelUIElement3D.cs
- SignatureHelper.cs
- SiteMapSection.cs
- GroupBox.cs
- SystemIPv4InterfaceProperties.cs
- Membership.cs
- DiscardableAttribute.cs
- UserInitiatedNavigationPermission.cs
- TextTreeUndo.cs
- PassportIdentity.cs
- SettingsProperty.cs
- complextypematerializer.cs
- SqlRewriteScalarSubqueries.cs
- XamlSerializerUtil.cs
- Hashtable.cs
- DataGridViewCellValueEventArgs.cs
- LogicalTreeHelper.cs
- fixedPageContentExtractor.cs
- HttpDictionary.cs
- SByteConverter.cs
- LambdaCompiler.cs
- SoapFault.cs
- Tablet.cs
- DocumentViewer.cs
- HtmlInputButton.cs
- ObjectNotFoundException.cs
- Odbc32.cs
- Int32AnimationUsingKeyFrames.cs
- AspNetSynchronizationContext.cs
- DrawingContextDrawingContextWalker.cs
- SelectingProviderEventArgs.cs
- Calendar.cs
- StandardCommands.cs
- DispatcherFrame.cs
- TimeoutHelper.cs
- ConfigurationManagerInternalFactory.cs
- DictionaryBase.cs
- TemplateBaseAction.cs
- ConstraintManager.cs
- EmptyWithCancelationCheckWorkItem.cs
- XsdBuilder.cs
- StreamInfo.cs
- GridSplitterAutomationPeer.cs
- UnhandledExceptionEventArgs.cs
- WebPartCancelEventArgs.cs
- WindowCollection.cs
- RunInstallerAttribute.cs
- TreeViewHitTestInfo.cs
- RootAction.cs
- RoleService.cs
- ViewStateModeByIdAttribute.cs
- CodeComment.cs
- Parameter.cs
- TemplateControlParser.cs
- WebPartActionVerb.cs
- ButtonBaseDesigner.cs
- Underline.cs
- InvokeWebService.cs
- ObjectViewQueryResultData.cs
- BlurBitmapEffect.cs
- WebPartHelpVerb.cs
- XmlSequenceWriter.cs
- DataGridViewSelectedCellCollection.cs
- DigitalSignature.cs
- CodeCompiler.cs
- BoolLiteral.cs
- DataGridViewComboBoxEditingControl.cs