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
- TextRunCache.cs
- CodeFieldReferenceExpression.cs
- Pen.cs
- MachineKeyConverter.cs
- FragmentNavigationEventArgs.cs
- ElementUtil.cs
- IDispatchConstantAttribute.cs
- FactoryMaker.cs
- SQLChars.cs
- GeometryValueSerializer.cs
- TypeUsage.cs
- TypedRowHandler.cs
- ASCIIEncoding.cs
- PathGeometry.cs
- WebPartConnectionsEventArgs.cs
- XmlRawWriterWrapper.cs
- PictureBox.cs
- GradientBrush.cs
- ComponentCommands.cs
- DbMetaDataCollectionNames.cs
- TextTreeInsertElementUndoUnit.cs
- WriteFileContext.cs
- TypeBuilder.cs
- ExpressionWriter.cs
- IdentitySection.cs
- HtmlTableCell.cs
- RefreshPropertiesAttribute.cs
- StyleHelper.cs
- BuildManagerHost.cs
- EventHandlerService.cs
- ByteStack.cs
- CodeDirectoryCompiler.cs
- SqlError.cs
- BaseTemplateParser.cs
- OleServicesContext.cs
- ValueConversionAttribute.cs
- Sql8ExpressionRewriter.cs
- CacheChildrenQuery.cs
- ArrayList.cs
- Pair.cs
- NumericPagerField.cs
- DataColumnMapping.cs
- HttpApplication.cs
- XmlSchemaException.cs
- PropagatorResult.cs
- CapabilitiesState.cs
- RenderCapability.cs
- OutputCacheProfileCollection.cs
- CompensatableTransactionScopeActivityDesigner.cs
- FileEnumerator.cs
- Int32Rect.cs
- DataGridViewAddColumnDialog.cs
- FileStream.cs
- TableSectionStyle.cs
- ObfuscationAttribute.cs
- HtmlTitle.cs
- PartManifestEntry.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- CodeDomSerializationProvider.cs
- SoapMessage.cs
- CodeRegionDirective.cs
- XmlChildEnumerator.cs
- MultipartContentParser.cs
- BindableTemplateBuilder.cs
- BinaryKeyIdentifierClause.cs
- ThousandthOfEmRealPoints.cs
- SecurityTokenTypes.cs
- ConfigurationPropertyCollection.cs
- FormViewInsertEventArgs.cs
- WithParamAction.cs
- XmlSchemaDatatype.cs
- ApplicationActivator.cs
- ACL.cs
- EdmRelationshipRoleAttribute.cs
- ViewValidator.cs
- RTLAwareMessageBox.cs
- PriorityChain.cs
- AccessDataSource.cs
- StoreItemCollection.Loader.cs
- AppDomainGrammarProxy.cs
- BasicCellRelation.cs
- configsystem.cs
- ExtentKey.cs
- ToolboxBitmapAttribute.cs
- EditorBrowsableAttribute.cs
- GenerateTemporaryTargetAssembly.cs
- SendActivityDesigner.cs
- SerializationEventsCache.cs
- QueryContinueDragEvent.cs
- MembershipValidatePasswordEventArgs.cs
- DelegateOutArgument.cs
- QueryContext.cs
- ServiceKnownTypeAttribute.cs
- AppSettingsExpressionEditor.cs
- EntityDataSourceWrapper.cs
- RtfToXamlReader.cs
- WeakHashtable.cs
- RowToParametersTransformer.cs
- ValidationErrorInfo.cs
- XmlObjectSerializerWriteContextComplex.cs