Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Xaml / AttributeXamlType.cs / 1305376 / AttributeXamlType.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation.Xaml { using System.ComponentModel; using System.Xaml; using System.Xaml.Schema; class AttributeXamlType: XamlType where TAttribute : Attribute where TAttributeInfo : AttributeInfo , new() { TAttributeInfo attributeInfo = new TAttributeInfo(); public AttributeXamlType(XamlSchemaContext xamlSchemaContext) : base(typeof(TAttribute), xamlSchemaContext) { } protected override XamlValueConverter LookupTypeConverter() { return new XamlValueConverter (typeof(AttributeConverter ), this); } protected override bool LookupConstructionRequiresArguments() { return attributeInfo.LookupConstructionRequiresArguments; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation.Xaml { using System.ComponentModel; using System.Xaml; using System.Xaml.Schema; class AttributeXamlType : XamlType where TAttribute : Attribute where TAttributeInfo : AttributeInfo , new() { TAttributeInfo attributeInfo = new TAttributeInfo(); public AttributeXamlType(XamlSchemaContext xamlSchemaContext) : base(typeof(TAttribute), xamlSchemaContext) { } protected override XamlValueConverter LookupTypeConverter() { return new XamlValueConverter (typeof(AttributeConverter ), this); } protected override bool LookupConstructionRequiresArguments() { return attributeInfo.LookupConstructionRequiresArguments; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Tablet.cs
- ConsumerConnectionPoint.cs
- Internal.cs
- Task.cs
- XmlAttributeAttribute.cs
- ClientSettings.cs
- HeaderedContentControl.cs
- IndexOutOfRangeException.cs
- Select.cs
- ObjectHelper.cs
- ResourceIDHelper.cs
- UTF32Encoding.cs
- DataGridViewCellPaintingEventArgs.cs
- ToolBar.cs
- ImageCodecInfoPrivate.cs
- HMACMD5.cs
- CalendarKeyboardHelper.cs
- Exceptions.cs
- BinaryWriter.cs
- DataServiceRequestArgs.cs
- SettingsBase.cs
- XmlDocumentSerializer.cs
- ComPlusInstanceProvider.cs
- DesignerListAdapter.cs
- XslTransform.cs
- DesignerPainter.cs
- CommonDialog.cs
- FileChangesMonitor.cs
- DrawingImage.cs
- ActivityTrace.cs
- SoapServerProtocol.cs
- Matrix3DStack.cs
- PrimitiveSchema.cs
- AdRotator.cs
- OdbcInfoMessageEvent.cs
- SystemEvents.cs
- FormsAuthenticationCredentials.cs
- UrlMappingCollection.cs
- SEHException.cs
- PrintPreviewControl.cs
- SizeAnimationBase.cs
- TabControlEvent.cs
- MailHeaderInfo.cs
- MenuItemBindingCollection.cs
- KeyedCollection.cs
- EntityContainerEmitter.cs
- DataServiceException.cs
- OleDbRowUpdatingEvent.cs
- RtfToXamlReader.cs
- AdornerPresentationContext.cs
- EditorZoneBase.cs
- IssuanceTokenProviderState.cs
- RequestTimeoutManager.cs
- ControlPropertyNameConverter.cs
- NotificationContext.cs
- SqlStatistics.cs
- XPathAncestorIterator.cs
- CompModSwitches.cs
- ConnectionPoolManager.cs
- NameTable.cs
- HtmlContainerControl.cs
- AxisAngleRotation3D.cs
- BaseCodePageEncoding.cs
- CardSpaceSelector.cs
- Win32.cs
- ProcessModuleCollection.cs
- VirtualizedCellInfoCollection.cs
- UpdatePanelControlTrigger.cs
- CollectionEditVerbManager.cs
- DataBoundControl.cs
- Stylus.cs
- DataGridHeaderBorder.cs
- CodeGenerator.cs
- ImageListUtils.cs
- WebPartDisplayModeEventArgs.cs
- SoapServerMethod.cs
- PropertyMetadata.cs
- ExpressionBuilder.cs
- ListView.cs
- XmlSchemaComplexContent.cs
- BinaryFormatter.cs
- DataObjectFieldAttribute.cs
- PageBreakRecord.cs
- HtmlElement.cs
- PixelFormats.cs
- TextElement.cs
- HttpValueCollection.cs
- VectorAnimation.cs
- DbConnectionPool.cs
- PersonalizationState.cs
- FindCompletedEventArgs.cs
- OrthographicCamera.cs
- StructuredType.cs
- EntityClassGenerator.cs
- StopRoutingHandler.cs
- TextTrailingCharacterEllipsis.cs
- FunctionParameter.cs
- BindingExpression.cs
- Rules.cs
- Misc.cs