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
- TemplateEditingService.cs
- DirectoryInfo.cs
- DbConvert.cs
- PropertyManager.cs
- ExportFileRequest.cs
- EventRouteFactory.cs
- IResourceProvider.cs
- AdPostCacheSubstitution.cs
- PageHandlerFactory.cs
- ListItemViewAttribute.cs
- RawTextInputReport.cs
- KernelTypeValidation.cs
- AmbientProperties.cs
- AssemblyCollection.cs
- InheritanceContextChangedEventManager.cs
- Brush.cs
- QilVisitor.cs
- ForceCopyBuildProvider.cs
- Double.cs
- OleAutBinder.cs
- TriState.cs
- Perspective.cs
- KeyPressEvent.cs
- ProcessHost.cs
- FileDialogPermission.cs
- SafeRightsManagementSessionHandle.cs
- SrgsElement.cs
- WebCategoryAttribute.cs
- DomainUpDown.cs
- EventItfInfo.cs
- DoubleAnimation.cs
- SqlNodeAnnotations.cs
- TcpHostedTransportConfiguration.cs
- IDataContractSurrogate.cs
- ComponentCommands.cs
- DownloadProgressEventArgs.cs
- FileUtil.cs
- XXXInfos.cs
- UserNamePasswordValidationMode.cs
- ToolStripDropDownButton.cs
- XmlReader.cs
- CustomErrorCollection.cs
- ContentDisposition.cs
- StreamedWorkflowDefinitionContext.cs
- GroupDescription.cs
- basecomparevalidator.cs
- EntityContainerEntitySetDefiningQuery.cs
- DependencyProperty.cs
- SwitchLevelAttribute.cs
- BinaryWriter.cs
- UnSafeCharBuffer.cs
- ArrayElementGridEntry.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- KnownTypes.cs
- ProcessModuleCollection.cs
- CqlBlock.cs
- HttpWebResponse.cs
- XPathNavigator.cs
- ProfilePropertyNameValidator.cs
- DelegateSerializationHolder.cs
- datacache.cs
- DataBoundLiteralControl.cs
- DataGridParentRows.cs
- VirtualPathUtility.cs
- Semaphore.cs
- QueryOptionExpression.cs
- CommandHelper.cs
- NetworkInformationException.cs
- EditorPartCollection.cs
- Stylesheet.cs
- lengthconverter.cs
- EndPoint.cs
- COM2PictureConverter.cs
- DbConnectionPoolOptions.cs
- ParallelTimeline.cs
- entitydatasourceentitysetnameconverter.cs
- _ProxyChain.cs
- LifetimeServices.cs
- RowCache.cs
- ButtonBaseAdapter.cs
- VSWCFServiceContractGenerator.cs
- ConfigurationErrorsException.cs
- DataGridItemAttachedStorage.cs
- TextTreeInsertElementUndoUnit.cs
- MonitorWrapper.cs
- RoutedUICommand.cs
- ImageAutomationPeer.cs
- InvalidDataException.cs
- SafeNativeMethods.cs
- UseLicense.cs
- Privilege.cs
- GenericPrincipal.cs
- LowerCaseStringConverter.cs
- LocatorGroup.cs
- WsatTransactionHeader.cs
- NamespaceDisplay.xaml.cs
- Clause.cs
- DbXmlEnabledProviderManifest.cs
- Rotation3DAnimationBase.cs
- objectquery_tresulttype.cs