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
- DataGridViewRowEventArgs.cs
- HGlobalSafeHandle.cs
- HwndMouseInputProvider.cs
- DictationGrammar.cs
- WebPartDescription.cs
- SignatureGenerator.cs
- SettingsPropertyNotFoundException.cs
- CodeTypeReference.cs
- SchemaCollectionCompiler.cs
- Point3DIndependentAnimationStorage.cs
- RemotingSurrogateSelector.cs
- BoundColumn.cs
- DbDataSourceEnumerator.cs
- SchemaDeclBase.cs
- ToolStripDesignerAvailabilityAttribute.cs
- FormParameter.cs
- UpdatePanelControlTrigger.cs
- XmlFormatReaderGenerator.cs
- Application.cs
- CustomError.cs
- ShutDownListener.cs
- SingleAnimation.cs
- TypeToken.cs
- AdCreatedEventArgs.cs
- XmlEncodedRawTextWriter.cs
- SecurityPolicySection.cs
- DataGridViewRowsRemovedEventArgs.cs
- OrderingInfo.cs
- PageSetupDialog.cs
- ResourcesBuildProvider.cs
- ProtectedProviderSettings.cs
- JournalEntryStack.cs
- DeferredSelectedIndexReference.cs
- Effect.cs
- WorkflowMarkupSerializationProvider.cs
- AuthStoreRoleProvider.cs
- TextBox.cs
- MeshGeometry3D.cs
- DeflateEmulationStream.cs
- RC2.cs
- SubMenuStyleCollection.cs
- TextServicesDisplayAttribute.cs
- PasswordRecovery.cs
- PauseStoryboard.cs
- Encoder.cs
- ZipIOFileItemStream.cs
- coordinatorscratchpad.cs
- MediaContext.cs
- TimerElapsedEvenArgs.cs
- OleServicesContext.cs
- MemoryFailPoint.cs
- FullTrustAssembliesSection.cs
- securestring.cs
- BlurBitmapEffect.cs
- _BufferOffsetSize.cs
- LineInfo.cs
- CapiSafeHandles.cs
- PixelFormat.cs
- View.cs
- PcmConverter.cs
- WorkflowCommandExtensionItem.cs
- SelectionPattern.cs
- DataTableExtensions.cs
- MouseBinding.cs
- SortDescriptionCollection.cs
- SafeProcessHandle.cs
- CodeDirectionExpression.cs
- FixedSOMPageConstructor.cs
- Triplet.cs
- RandomNumberGenerator.cs
- DataGridViewSelectedRowCollection.cs
- SqlCacheDependency.cs
- ConfigurationPermission.cs
- PipelineComponent.cs
- UserPersonalizationStateInfo.cs
- HandlerMappingMemo.cs
- EmulateRecognizeCompletedEventArgs.cs
- AppDomain.cs
- COM2PictureConverter.cs
- FloaterParagraph.cs
- ValidatorUtils.cs
- DataGridViewColumnTypePicker.cs
- RandomDelayQueuedSendsAsyncResult.cs
- ShutDownListener.cs
- ObjectDataSourceMethodEventArgs.cs
- Shape.cs
- ToolStripSystemRenderer.cs
- TreeChangeInfo.cs
- HtmlAnchor.cs
- ItemsControl.cs
- SchemaDeclBase.cs
- ProvidersHelper.cs
- ScrollChrome.cs
- OneWayElement.cs
- AssemblyResourceLoader.cs
- CalendarDateRangeChangingEventArgs.cs
- WsdlBuildProvider.cs
- TagMapCollection.cs
- IIS7ConfigurationLoader.cs
- SizeChangedEventArgs.cs