Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / System / Windows / Markup / MarkupExtensionReturnTypeAttribute.cs / 1 / MarkupExtensionReturnTypeAttribute.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2006 // // File: MarkupExtensionReturnTypeAttribute.cs // // Description: Describes what type a markup extension can return. // // Created: 11/17/2005 RRelyea // //--------------------------------------------------------------------------- using System; namespace System.Windows.Markup { ////// [AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)] public sealed class MarkupExtensionReturnTypeAttribute : Attribute { ////// public MarkupExtensionReturnTypeAttribute(Type returnType) { _returnType = returnType; } public MarkupExtensionReturnTypeAttribute(Type returnType, Type expressionType) { _returnType = returnType; _expressionType = expressionType; } ////// public MarkupExtensionReturnTypeAttribute() { } ////// public Type ReturnType { get { return _returnType; } } public Type ExpressionType { get { return _expressionType; } } private Type _returnType; private Type _expressionType; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2006 // // File: MarkupExtensionReturnTypeAttribute.cs // // Description: Describes what type a markup extension can return. // // Created: 11/17/2005 RRelyea // //--------------------------------------------------------------------------- using System; namespace System.Windows.Markup { ////// [AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)] public sealed class MarkupExtensionReturnTypeAttribute : Attribute { ////// public MarkupExtensionReturnTypeAttribute(Type returnType) { _returnType = returnType; } public MarkupExtensionReturnTypeAttribute(Type returnType, Type expressionType) { _returnType = returnType; _expressionType = expressionType; } ////// public MarkupExtensionReturnTypeAttribute() { } ////// public Type ReturnType { get { return _returnType; } } public Type ExpressionType { get { return _expressionType; } } private Type _returnType; private Type _expressionType; } } // 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
- OutputCacheProfileCollection.cs
- HttpBrowserCapabilitiesBase.cs
- ClientReliableChannelBinder.cs
- PageCopyCount.cs
- ListControlConvertEventArgs.cs
- NameValueFileSectionHandler.cs
- RegexFCD.cs
- PermissionListSet.cs
- SQLBoolean.cs
- FindCriteriaApril2005.cs
- SpecialNameAttribute.cs
- BinaryParser.cs
- ServiceContractGenerator.cs
- ReadOnlyObservableCollection.cs
- DecoderBestFitFallback.cs
- UnknownWrapper.cs
- WindowsFormsHostPropertyMap.cs
- MenuItemStyle.cs
- AttachedAnnotationChangedEventArgs.cs
- ObjectListSelectEventArgs.cs
- HtmlInputCheckBox.cs
- Clock.cs
- Fx.cs
- ModelPerspective.cs
- CustomTypeDescriptor.cs
- FileIOPermission.cs
- WebPartPersonalization.cs
- ProcessHostConfigUtils.cs
- CompleteWizardStep.cs
- SparseMemoryStream.cs
- XamlTypeMapper.cs
- FileAuthorizationModule.cs
- ZipIOCentralDirectoryFileHeader.cs
- DoubleStorage.cs
- ListenerTraceUtility.cs
- ProfileService.cs
- HandleCollector.cs
- prefixendpointaddressmessagefiltertable.cs
- Latin1Encoding.cs
- OSFeature.cs
- ImmutableObjectAttribute.cs
- BamlWriter.cs
- QueryCacheKey.cs
- _SSPIWrapper.cs
- RegistrySecurity.cs
- dataobject.cs
- SignedXml.cs
- RelationshipEndCollection.cs
- PlainXmlSerializer.cs
- RoleManagerEventArgs.cs
- EdgeProfileValidation.cs
- ImageList.cs
- BmpBitmapDecoder.cs
- SafePEFileHandle.cs
- ProgressBar.cs
- ArgumentNullException.cs
- SqlOuterApplyReducer.cs
- DocumentSchemaValidator.cs
- WaitForChangedResult.cs
- ListenerSessionConnectionReader.cs
- QueryContinueDragEvent.cs
- QueryConverter.cs
- NotifyParentPropertyAttribute.cs
- propertytag.cs
- ComMethodElement.cs
- MatrixConverter.cs
- BooleanAnimationBase.cs
- SocketManager.cs
- SiteMapNode.cs
- RtfToken.cs
- EntityDataReader.cs
- mediaeventshelper.cs
- DecimalConverter.cs
- XhtmlBasicImageAdapter.cs
- ModelService.cs
- InheritanceContextChangedEventManager.cs
- DataGridViewRowConverter.cs
- PassportAuthentication.cs
- XmlSchemaDatatype.cs
- DocComment.cs
- InputLanguageSource.cs
- UniqueIdentifierService.cs
- RelatedPropertyManager.cs
- _WinHttpWebProxyDataBuilder.cs
- ActiveDesignSurfaceEvent.cs
- SizeAnimationBase.cs
- SqlCacheDependencySection.cs
- TreeBuilderBamlTranslator.cs
- SendingRequestEventArgs.cs
- ResourceDefaultValueAttribute.cs
- DesignObjectWrapper.cs
- StylusEventArgs.cs
- DirectoryLocalQuery.cs
- RoutingEndpointTrait.cs
- FastPropertyAccessor.cs
- DataGridTextBoxColumn.cs
- Normalization.cs
- SecurityTokenAuthenticator.cs
- OledbConnectionStringbuilder.cs
- ListBoxItemAutomationPeer.cs