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
- NameTable.cs
- EventTrigger.cs
- RequestStatusBarUpdateEventArgs.cs
- BindingExpressionUncommonField.cs
- FreezableDefaultValueFactory.cs
- TypeDescriptor.cs
- GenericTextProperties.cs
- WebRequestModuleElementCollection.cs
- GridViewDeleteEventArgs.cs
- CompilerWrapper.cs
- log.cs
- OuterGlowBitmapEffect.cs
- TrustManagerMoreInformation.cs
- XmlSchemaAnyAttribute.cs
- DiscoveryClientOutputChannel.cs
- TemplatePagerField.cs
- ButtonField.cs
- Win32MouseDevice.cs
- OuterGlowBitmapEffect.cs
- WorkflowStateRollbackService.cs
- PieceNameHelper.cs
- OdbcConnectionPoolProviderInfo.cs
- HGlobalSafeHandle.cs
- ProcessStartInfo.cs
- HandleCollector.cs
- QueryableFilterRepeater.cs
- BindingContext.cs
- AssemblyUtil.cs
- IgnorePropertiesAttribute.cs
- CodeLinePragma.cs
- QilScopedVisitor.cs
- Enum.cs
- ResourceManagerWrapper.cs
- OletxEnlistment.cs
- SchemaElementLookUpTableEnumerator.cs
- SqlCommandSet.cs
- unitconverter.cs
- PageParserFilter.cs
- HtmlTableRow.cs
- VersionPair.cs
- AddInActivator.cs
- XmlSchemaException.cs
- BufferModesCollection.cs
- ControlTemplate.cs
- XPathArrayIterator.cs
- DateTimeOffset.cs
- RefExpr.cs
- TcpConnectionPoolSettingsElement.cs
- ConfigurationFileMap.cs
- ModulesEntry.cs
- GridSplitter.cs
- ObjectReaderCompiler.cs
- ComboBox.cs
- COAUTHINFO.cs
- GeneralTransform3DGroup.cs
- PageEventArgs.cs
- CatalogPartChrome.cs
- ThreadStaticAttribute.cs
- EntityReference.cs
- TextServicesLoader.cs
- XhtmlBasicLinkAdapter.cs
- MetadataException.cs
- HtmlImage.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CalloutQueueItem.cs
- QueryContext.cs
- KnownTypesProvider.cs
- XPathMultyIterator.cs
- SigningCredentials.cs
- ToolStripContentPanel.cs
- RecognizedAudio.cs
- AuthenticationConfig.cs
- ColumnClickEvent.cs
- Atom10FormatterFactory.cs
- BuildProviderCollection.cs
- LogManagementAsyncResult.cs
- SourceInterpreter.cs
- SequentialUshortCollection.cs
- GroupBox.cs
- ProxyManager.cs
- TagPrefixCollection.cs
- CodeTypeReferenceCollection.cs
- BitSet.cs
- SchemaImporterExtensionsSection.cs
- PropertyValueUIItem.cs
- Aggregates.cs
- TypeSystemProvider.cs
- ResourceDescriptionAttribute.cs
- InOutArgumentConverter.cs
- DataGridHeaderBorder.cs
- DetailsViewDeleteEventArgs.cs
- IsolatedStorageFileStream.cs
- KeyValueConfigurationElement.cs
- UITypeEditor.cs
- ResourceContainer.cs
- WebPartsPersonalizationAuthorization.cs
- FormViewDeletedEventArgs.cs
- ApplicationDirectory.cs
- WebEvents.cs
- ButtonBaseAutomationPeer.cs