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
- EntityConnectionStringBuilderItem.cs
- WebConfigurationManager.cs
- AssemblyResolver.cs
- DateTimeStorage.cs
- ReadOnlyAttribute.cs
- RsaSecurityTokenParameters.cs
- HandleDictionary.cs
- HtmlInputControl.cs
- Visitor.cs
- Control.cs
- AttributeEmitter.cs
- TemplateBindingExtension.cs
- DefaultHttpHandler.cs
- DrawingContextDrawingContextWalker.cs
- CodeGotoStatement.cs
- Triplet.cs
- HandleRef.cs
- AsymmetricSecurityProtocol.cs
- EventLogInformation.cs
- FieldAccessException.cs
- FileLoadException.cs
- DbExpressionRules.cs
- BuildProviderCollection.cs
- CorrelationResolver.cs
- DynamicMethod.cs
- HandlerFactoryWrapper.cs
- RequestCache.cs
- InkCollectionBehavior.cs
- ContainerParaClient.cs
- Set.cs
- LockCookie.cs
- BlockExpression.cs
- ContextConfiguration.cs
- OleDbInfoMessageEvent.cs
- MailAddress.cs
- ParallelLoopState.cs
- TextTreeFixupNode.cs
- SiteMapPath.cs
- ToolboxDataAttribute.cs
- DecoderFallbackWithFailureFlag.cs
- _NativeSSPI.cs
- QuestionEventArgs.cs
- CfgArc.cs
- XPathDocumentNavigator.cs
- ActivityWithResultValueSerializer.cs
- FactoryId.cs
- JsonWriter.cs
- TargetConverter.cs
- FileUpload.cs
- CellParaClient.cs
- TextReader.cs
- ValuePattern.cs
- SkinBuilder.cs
- NaturalLanguageHyphenator.cs
- JsonSerializer.cs
- DataSourceSelectArguments.cs
- NativeRightsManagementAPIsStructures.cs
- printdlgexmarshaler.cs
- HashAlgorithm.cs
- FindCriteria.cs
- AdornedElementPlaceholder.cs
- PagerSettings.cs
- SwitchAttribute.cs
- CommonDialog.cs
- TextElement.cs
- WebEncodingValidatorAttribute.cs
- PointCollection.cs
- ControlAdapter.cs
- CanonicalXml.cs
- MachineKeySection.cs
- RNGCryptoServiceProvider.cs
- AuthenticationSchemesHelper.cs
- AtomEntry.cs
- EntityCollection.cs
- TrackingStringDictionary.cs
- SemanticResultValue.cs
- ClientUrlResolverWrapper.cs
- SchemaEntity.cs
- IssuedTokenClientElement.cs
- cache.cs
- DWriteFactory.cs
- ConfigurationSectionHelper.cs
- StrokeNodeData.cs
- ComboBox.cs
- InputBindingCollection.cs
- HttpChannelFactory.cs
- WindowInteropHelper.cs
- DNS.cs
- PresentationTraceSources.cs
- WebBrowser.cs
- SQLInt64Storage.cs
- ProxyHwnd.cs
- BitmapCacheBrush.cs
- VectorAnimationUsingKeyFrames.cs
- SymbolTable.cs
- ExpressionHelper.cs
- CharacterString.cs
- SystemWebSectionGroup.cs
- Point3DCollection.cs
- TokenCreationParameter.cs