Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Compilation / ExpressionEditorAttribute.cs / 1305376 / ExpressionEditorAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System.Security.Permissions; [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)] 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Visual3DCollection.cs
- MultiTouchSystemGestureLogic.cs
- TextCharacters.cs
- TagPrefixAttribute.cs
- XamlGridLengthSerializer.cs
- HierarchicalDataSourceControl.cs
- CollectionMarkupSerializer.cs
- UpdateException.cs
- CryptoKeySecurity.cs
- SemaphoreFullException.cs
- XmlSchemaValidationException.cs
- InputReport.cs
- NestedContainer.cs
- EntityRecordInfo.cs
- ResourceDescriptionAttribute.cs
- SqlCommandBuilder.cs
- PolicyException.cs
- OdbcCommand.cs
- ProcessModule.cs
- DirectionalAction.cs
- DrawingDrawingContext.cs
- SemanticTag.cs
- RotationValidation.cs
- DeviceContext2.cs
- ScriptingScriptResourceHandlerSection.cs
- XmlDocumentFragment.cs
- SamlAssertionKeyIdentifierClause.cs
- FontWeightConverter.cs
- SqlRewriteScalarSubqueries.cs
- RadioButtonStandardAdapter.cs
- ProfileService.cs
- GuidelineSet.cs
- XamlTreeBuilderBamlRecordWriter.cs
- CompiledQueryCacheEntry.cs
- XmlIlTypeHelper.cs
- DateTimeOffsetStorage.cs
- SynchronousChannelMergeEnumerator.cs
- AppSettingsReader.cs
- CroppedBitmap.cs
- FileLoadException.cs
- ContentTextAutomationPeer.cs
- EntityProviderServices.cs
- MultiPropertyDescriptorGridEntry.cs
- SpecialTypeDataContract.cs
- SelectorAutomationPeer.cs
- RtfToXamlLexer.cs
- WebService.cs
- CollectionViewSource.cs
- UpdatePanelTrigger.cs
- NativeObjectSecurity.cs
- SimplePropertyEntry.cs
- Condition.cs
- HtmlControlAdapter.cs
- PageSetupDialog.cs
- LoadedOrUnloadedOperation.cs
- WebPartEditVerb.cs
- StatusBarItemAutomationPeer.cs
- SystemSounds.cs
- FixedDocumentSequencePaginator.cs
- ConfigXmlCDataSection.cs
- RecordsAffectedEventArgs.cs
- BoundPropertyEntry.cs
- DataServiceRequestException.cs
- CardSpaceShim.cs
- CombinedGeometry.cs
- InheritedPropertyDescriptor.cs
- ChangeBlockUndoRecord.cs
- CodeTypeMemberCollection.cs
- CheckBoxAutomationPeer.cs
- EventToken.cs
- HtmlMeta.cs
- AnnotationDocumentPaginator.cs
- EditorZoneAutoFormat.cs
- PathSegment.cs
- ListViewPagedDataSource.cs
- SendSecurityHeaderElementContainer.cs
- ContentAlignmentEditor.cs
- ValidationErrorEventArgs.cs
- FirstMatchCodeGroup.cs
- SQLDecimalStorage.cs
- BaseParaClient.cs
- TextElement.cs
- ScrollChrome.cs
- SudsWriter.cs
- Win32MouseDevice.cs
- DecoderReplacementFallback.cs
- FragmentNavigationEventArgs.cs
- DocumentAutomationPeer.cs
- WizardForm.cs
- XmlElementList.cs
- EpmTargetPathSegment.cs
- RegisteredArrayDeclaration.cs
- RefType.cs
- BaseCodePageEncoding.cs
- DocumentOrderQuery.cs
- DropAnimation.xaml.cs
- PageParserFilter.cs
- ElementHostAutomationPeer.cs
- Geometry.cs
- UnhandledExceptionEventArgs.cs