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
- KeyConstraint.cs
- IndependentAnimationStorage.cs
- ContainerFilterService.cs
- NativeDirectoryServicesQueryAPIs.cs
- GestureRecognitionResult.cs
- ControlAdapter.cs
- MinimizableAttributeTypeConverter.cs
- Message.cs
- Visual3DCollection.cs
- OdbcDataReader.cs
- InstanceDataCollection.cs
- ProofTokenCryptoHandle.cs
- ThaiBuddhistCalendar.cs
- PixelShader.cs
- FixedHyperLink.cs
- CharacterHit.cs
- LinqDataSourceDeleteEventArgs.cs
- IpcServerChannel.cs
- SkinIDTypeConverter.cs
- ExpandoClass.cs
- FileVersionInfo.cs
- CodeObject.cs
- BmpBitmapDecoder.cs
- ErrorFormatter.cs
- ListViewEditEventArgs.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- HttpSysSettings.cs
- SrgsText.cs
- NumberFormatter.cs
- XmlProcessingInstruction.cs
- ProfileProvider.cs
- EventDescriptor.cs
- ControlLocalizer.cs
- XpsColorContext.cs
- CultureTable.cs
- printdlgexmarshaler.cs
- XmlSyndicationContent.cs
- Perspective.cs
- Geometry.cs
- KeyedCollection.cs
- DashStyle.cs
- CqlLexerHelpers.cs
- Font.cs
- ZipPackage.cs
- XmlQueryTypeFactory.cs
- LoggedException.cs
- DataObjectPastingEventArgs.cs
- BamlRecords.cs
- WindowsListBox.cs
- ScrollEvent.cs
- AuthenticationSection.cs
- Brush.cs
- EventMappingSettings.cs
- MonikerUtility.cs
- ObjectRef.cs
- _CacheStreams.cs
- RemoteDebugger.cs
- SQLStringStorage.cs
- CounterCreationDataCollection.cs
- TagNameToTypeMapper.cs
- AspNetSynchronizationContext.cs
- WriteFileContext.cs
- OdbcConnectionHandle.cs
- OneOfConst.cs
- ReadWriteObjectLock.cs
- XmlResolver.cs
- XmlSerializationWriter.cs
- EventLogLink.cs
- regiisutil.cs
- NameTable.cs
- BitmapFrameEncode.cs
- XmlNodeWriter.cs
- _ConnectOverlappedAsyncResult.cs
- ObjectQueryProvider.cs
- RectAnimationClockResource.cs
- ClientSponsor.cs
- ListViewTableRow.cs
- PrimaryKeyTypeConverter.cs
- BitHelper.cs
- UnsafeNativeMethodsTablet.cs
- AsyncResult.cs
- EntityWithChangeTrackerStrategy.cs
- IntSecurity.cs
- HWStack.cs
- LayoutTableCell.cs
- XsdDuration.cs
- DefinitionUpdate.cs
- AbandonedMutexException.cs
- RemoteWebConfigurationHostServer.cs
- XmlIlVisitor.cs
- BreakRecordTable.cs
- EndEvent.cs
- URLAttribute.cs
- DeploymentSectionCache.cs
- CapabilitiesSection.cs
- UncommonField.cs
- Condition.cs
- EventEntry.cs
- Matrix.cs
- DataMemberListEditor.cs