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
- SizeChangedInfo.cs
- RoutedPropertyChangedEventArgs.cs
- FormViewDeletedEventArgs.cs
- HyperLink.cs
- CapacityStreamGeometryContext.cs
- SQLByte.cs
- ServiceDebugElement.cs
- BaseParser.cs
- UserNameSecurityTokenAuthenticator.cs
- DataControlCommands.cs
- WinFormsComponentEditor.cs
- UndoUnit.cs
- OpenTypeLayout.cs
- DispatchWrapper.cs
- DiscreteKeyFrames.cs
- Rotation3DAnimationUsingKeyFrames.cs
- Converter.cs
- StrongNameIdentityPermission.cs
- CodeIdentifier.cs
- DecimalAnimationUsingKeyFrames.cs
- TextDecoration.cs
- EventlogProvider.cs
- XpsResourcePolicy.cs
- GacUtil.cs
- SpecularMaterial.cs
- ObjectDisposedException.cs
- storepermission.cs
- ZipIOExtraFieldElement.cs
- ArgumentValueSerializer.cs
- WindowsFormsLinkLabel.cs
- CodeTryCatchFinallyStatement.cs
- UITypeEditor.cs
- AlignmentXValidation.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- hwndwrapper.cs
- ProxyWebPartConnectionCollection.cs
- CalloutQueueItem.cs
- SamlAction.cs
- DataPagerFieldCommandEventArgs.cs
- DmlSqlGenerator.cs
- FlowSwitchDesigner.xaml.cs
- ScrollItemProviderWrapper.cs
- PenContext.cs
- XmlNavigatorStack.cs
- validation.cs
- ImagingCache.cs
- GradientSpreadMethodValidation.cs
- Serializer.cs
- DbParameterCollectionHelper.cs
- DatatypeImplementation.cs
- BooleanStorage.cs
- DataServiceResponse.cs
- LayoutSettings.cs
- OrderedDictionary.cs
- AutomationPropertyInfo.cs
- InstanceDataCollection.cs
- MethodRental.cs
- InternalsVisibleToAttribute.cs
- SchemaComplexType.cs
- DataPagerCommandEventArgs.cs
- AncestorChangedEventArgs.cs
- StaticTextPointer.cs
- BevelBitmapEffect.cs
- ListViewItemMouseHoverEvent.cs
- ActivityCodeDomSerializer.cs
- DateTimeParse.cs
- ConfigurationException.cs
- TraceLevelStore.cs
- WindowsAltTab.cs
- InputMethodStateChangeEventArgs.cs
- NavigationWindowAutomationPeer.cs
- DataServiceRequest.cs
- DataGridViewColumn.cs
- XmlReader.cs
- ForeignKeyConstraint.cs
- Int64AnimationBase.cs
- XsdBuildProvider.cs
- SqlRetyper.cs
- ArrayHelper.cs
- ExtenderControl.cs
- TraceContext.cs
- RuleSetBrowserDialog.cs
- CredentialCache.cs
- IteratorFilter.cs
- Module.cs
- XmlTextWriter.cs
- NestPullup.cs
- XmlSchemaSet.cs
- ToolStripSystemRenderer.cs
- BinaryOperationBinder.cs
- GraphicsContainer.cs
- PageAsyncTask.cs
- AmbientValueAttribute.cs
- ByteArrayHelperWithString.cs
- XmlCustomFormatter.cs
- Transform3DCollection.cs
- HtmlLink.cs
- contentDescriptor.cs
- AutomationEvent.cs
- CommonXSendMessage.cs