Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- Transform.cs
- MailSettingsSection.cs
- ServiceDescriptionSerializer.cs
- TagMapCollection.cs
- Calendar.cs
- CharAnimationBase.cs
- BuildProviderAppliesToAttribute.cs
- FileLoadException.cs
- StorageAssociationTypeMapping.cs
- Control.cs
- Select.cs
- ListViewInsertedEventArgs.cs
- ThemeDirectoryCompiler.cs
- SectionXmlInfo.cs
- PreloadHost.cs
- XmlQueryCardinality.cs
- EntitySqlQueryCacheKey.cs
- ProgramPublisher.cs
- ThaiBuddhistCalendar.cs
- GraphicsContext.cs
- ToolstripProfessionalRenderer.cs
- SchemaImporterExtension.cs
- PointHitTestResult.cs
- IconEditor.cs
- SchemaMapping.cs
- ErrorWrapper.cs
- BypassElement.cs
- AlternateView.cs
- BypassElementCollection.cs
- FilteredXmlReader.cs
- WebPartConnectionsDisconnectVerb.cs
- WebScriptMetadataFormatter.cs
- XpsViewerException.cs
- StaticContext.cs
- HostingEnvironment.cs
- PageAdapter.cs
- FillErrorEventArgs.cs
- Queue.cs
- ConfigXmlDocument.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- DataColumnChangeEvent.cs
- DTCTransactionManager.cs
- PageRequestManager.cs
- ToolStripPanelCell.cs
- XPathMessageContext.cs
- WebPartConnectionsCancelVerb.cs
- metadatamappinghashervisitor.cs
- StreamSecurityUpgradeInitiatorBase.cs
- LayoutEngine.cs
- FixedDocument.cs
- IssuedTokenClientCredential.cs
- SqlWebEventProvider.cs
- DtrList.cs
- Serializer.cs
- MouseGesture.cs
- ExpressionStringBuilder.cs
- TypeDependencyAttribute.cs
- GenericEnumConverter.cs
- ConfigurationLocation.cs
- SafePointer.cs
- UrlMapping.cs
- DateTimeParse.cs
- PageRequestManager.cs
- DataFieldEditor.cs
- DataStreamFromComStream.cs
- OdbcReferenceCollection.cs
- LazyTextWriterCreator.cs
- ConfigurationElement.cs
- DynamicDataManager.cs
- HttpApplicationFactory.cs
- PeerResolver.cs
- SplitterEvent.cs
- LookupNode.cs
- _SslSessionsCache.cs
- AppSettingsExpressionBuilder.cs
- PasswordTextContainer.cs
- PhoneCallDesigner.cs
- DateTimeFormatInfoScanner.cs
- Queue.cs
- IBuiltInEvidence.cs
- BamlStream.cs
- DataRow.cs
- SessionStateUtil.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- M3DUtil.cs
- WindowsToolbarItemAsMenuItem.cs
- StringResourceManager.cs
- MessageContractImporter.cs
- ExtendedPropertyCollection.cs
- FloatUtil.cs
- SessionEndingEventArgs.cs
- Graph.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- MappingException.cs
- AssemblyLoader.cs
- MarkupExtensionReturnTypeAttribute.cs
- RenderTargetBitmap.cs
- JsonDeserializer.cs
- CodeDirectionExpression.cs
- CrossContextChannel.cs