Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- XhtmlBasicLinkAdapter.cs
- Form.cs
- HashHelpers.cs
- TextRange.cs
- Vector3DCollection.cs
- LinkConverter.cs
- TargetFrameworkAttribute.cs
- ContractMapping.cs
- AnimationException.cs
- StringCollection.cs
- GeneralTransform3DGroup.cs
- ListViewInsertEventArgs.cs
- Error.cs
- ImageInfo.cs
- InstalledVoice.cs
- Timer.cs
- ellipse.cs
- Point3DAnimationBase.cs
- ServiceModelEnumValidatorAttribute.cs
- DefaultAssemblyResolver.cs
- AxHost.cs
- BufferModeSettings.cs
- FontStyles.cs
- SessionStateItemCollection.cs
- DefaultCommandExtensionCallback.cs
- XmlEncoding.cs
- DayRenderEvent.cs
- XmlNamespaceDeclarationsAttribute.cs
- SizeFConverter.cs
- HMACRIPEMD160.cs
- WebConfigurationHost.cs
- MachineKeyConverter.cs
- XmlConvert.cs
- IPCCacheManager.cs
- CodeDomLocalizationProvider.cs
- DelayedRegex.cs
- CodeDelegateCreateExpression.cs
- FusionWrap.cs
- MemberHolder.cs
- ObjectItemLoadingSessionData.cs
- SafeArrayRankMismatchException.cs
- BrushConverter.cs
- DriveNotFoundException.cs
- Flattener.cs
- BindingWorker.cs
- AssertFilter.cs
- DocumentReferenceCollection.cs
- StreamGeometry.cs
- DocumentPage.cs
- DrawingDrawingContext.cs
- DefaultShape.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- HostedAspNetEnvironment.cs
- Emitter.cs
- CodeMemberProperty.cs
- TransactionException.cs
- Transform.cs
- AuthenticationModuleElement.cs
- DependentList.cs
- HwndMouseInputProvider.cs
- TriggerBase.cs
- PageFunction.cs
- CompilerParameters.cs
- ipaddressinformationcollection.cs
- ButtonColumn.cs
- SafeNativeMethodsCLR.cs
- UserControlCodeDomTreeGenerator.cs
- SizeF.cs
- RepeatButtonAutomationPeer.cs
- FastEncoderStatics.cs
- TrustManagerMoreInformation.cs
- LoginName.cs
- TargetControlTypeAttribute.cs
- TextElementEditingBehaviorAttribute.cs
- Type.cs
- lengthconverter.cs
- ObjectDataSourceDisposingEventArgs.cs
- RecommendedAsConfigurableAttribute.cs
- ColorDialog.cs
- DataGridViewComboBoxEditingControl.cs
- MiniConstructorInfo.cs
- ApplicationSecurityManager.cs
- GcHandle.cs
- UnknownBitmapEncoder.cs
- DesignerDataSourceView.cs
- WSHttpBindingBase.cs
- StateWorkerRequest.cs
- DropAnimation.xaml.cs
- ReadOnlyAttribute.cs
- FontFamily.cs
- KnowledgeBase.cs
- MobileControlsSectionHelper.cs
- SqlTransaction.cs
- ThicknessAnimationBase.cs
- _SslState.cs
- TextAdaptor.cs
- SamlAuthorityBinding.cs
- StreamInfo.cs
- ImageSourceConverter.cs
- GridPattern.cs