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
- ImageAttributes.cs
- PreApplicationStartMethodAttribute.cs
- TeredoHelper.cs
- DesignerSerializationOptionsAttribute.cs
- WebPartMinimizeVerb.cs
- DirectoryInfo.cs
- DataGridViewCellStyleBuilderDialog.cs
- ErrorLog.cs
- ListenerHandler.cs
- OleDbInfoMessageEvent.cs
- ClientScriptManagerWrapper.cs
- DecimalConstantAttribute.cs
- Stream.cs
- TypeExtensions.cs
- ConcurrentBag.cs
- MemberRelationshipService.cs
- ConnectionModeReader.cs
- MemberHolder.cs
- FixedSOMFixedBlock.cs
- MsmqInputMessagePool.cs
- ToolBarOverflowPanel.cs
- ProfileSettingsCollection.cs
- ConditionalAttribute.cs
- PartialCachingControl.cs
- TreeNodeBindingDepthConverter.cs
- ZoneMembershipCondition.cs
- OleDbStruct.cs
- WindowsListViewItemCheckBox.cs
- TimeEnumHelper.cs
- DataBinder.cs
- FrameworkContentElement.cs
- MulticastDelegate.cs
- NavigatingCancelEventArgs.cs
- ParameterCollection.cs
- StaticDataManager.cs
- TextBoxBase.cs
- BaseTemplatedMobileComponentEditor.cs
- ListViewUpdatedEventArgs.cs
- Equal.cs
- ToolStripItemBehavior.cs
- ItemCollection.cs
- CookielessHelper.cs
- MenuStrip.cs
- SystemInfo.cs
- CurrencyWrapper.cs
- RepeatBehaviorConverter.cs
- DrawingImage.cs
- TextComposition.cs
- ErasingStroke.cs
- XmlEncodedRawTextWriter.cs
- TdsParser.cs
- ZipIOModeEnforcingStream.cs
- StringConcat.cs
- bindurihelper.cs
- SQLGuidStorage.cs
- WebRequest.cs
- FacetDescription.cs
- WebServiceData.cs
- ActivityBindForm.Designer.cs
- DbQueryCommandTree.cs
- WebPart.cs
- CompilerCollection.cs
- WebPartTransformer.cs
- EditorPart.cs
- TokenBasedSetEnumerator.cs
- UInt64Storage.cs
- MemoryMappedFileSecurity.cs
- ProfilePropertyNameValidator.cs
- Monitor.cs
- TileModeValidation.cs
- FileSystemWatcher.cs
- ZoomPercentageConverter.cs
- ButtonBaseAutomationPeer.cs
- ConnectionStringSettingsCollection.cs
- FileEnumerator.cs
- IntranetCredentialPolicy.cs
- XmlDictionaryReaderQuotasElement.cs
- AttachedPropertyBrowsableAttribute.cs
- ScalarConstant.cs
- PermissionSet.cs
- Types.cs
- FileDialog_Vista.cs
- ImageSourceValueSerializer.cs
- ErrorCodes.cs
- ConnectionProviderAttribute.cs
- SnapshotChangeTrackingStrategy.cs
- Debug.cs
- DataGridViewDataErrorEventArgs.cs
- EntityTypeBase.cs
- PropertyChangeTracker.cs
- ExceptionUtil.cs
- PerformanceCounterManager.cs
- DesignerTextBoxAdapter.cs
- SwitchAttribute.cs
- ScanQueryOperator.cs
- CodeSubDirectory.cs
- Point3DAnimationUsingKeyFrames.cs
- COM2IPerPropertyBrowsingHandler.cs
- PropertyTabChangedEvent.cs
- ToolStripItemClickedEventArgs.cs