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
- ObjectConverter.cs
- BitVector32.cs
- InternalResources.cs
- PropertyTabChangedEvent.cs
- ServerIdentity.cs
- DigestTraceRecordHelper.cs
- HtmlTextArea.cs
- XamlInt32CollectionSerializer.cs
- VirtualizedItemPattern.cs
- StickyNoteHelper.cs
- EditorOptionAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- SqlWebEventProvider.cs
- TrackingAnnotationCollection.cs
- FormViewInsertEventArgs.cs
- OuterGlowBitmapEffect.cs
- HitTestWithGeometryDrawingContextWalker.cs
- MexHttpBindingElement.cs
- MustUnderstandBehavior.cs
- AmbientProperties.cs
- DbParameterHelper.cs
- Margins.cs
- DbQueryCommandTree.cs
- Positioning.cs
- XmlCharType.cs
- PageWrapper.cs
- TypedTableGenerator.cs
- HtmlButton.cs
- LinqDataSource.cs
- AliasExpr.cs
- BitmapEffectInputData.cs
- DateTimeConverter2.cs
- ExpressionBinding.cs
- DataSourceUtil.cs
- LayoutEngine.cs
- ContainerControl.cs
- HijriCalendar.cs
- BindingNavigator.cs
- OptionUsage.cs
- MediaElementAutomationPeer.cs
- ServiceDescriptionSerializer.cs
- MouseCaptureWithinProperty.cs
- TextBox.cs
- WebReferenceCollection.cs
- CalculatedColumn.cs
- Int64Storage.cs
- StylusButtonCollection.cs
- SqlDependency.cs
- CodeAttributeDeclaration.cs
- SingleConverter.cs
- StructuredType.cs
- SessionStateSection.cs
- FacetDescriptionElement.cs
- ImageCreator.cs
- SoapFault.cs
- CodeDelegateInvokeExpression.cs
- InvalidEnumArgumentException.cs
- SortedSetDebugView.cs
- Console.cs
- MasterPageCodeDomTreeGenerator.cs
- WebPageTraceListener.cs
- SqlDataSourceDesigner.cs
- StateMachineTimers.cs
- AudioFileOut.cs
- RangeContentEnumerator.cs
- RuntimeResourceSet.cs
- ConfigurationElementProperty.cs
- FormatterServices.cs
- MobileControlDesigner.cs
- OrderedEnumerableRowCollection.cs
- _TimerThread.cs
- TextBlockAutomationPeer.cs
- Message.cs
- FontStyleConverter.cs
- CellParagraph.cs
- NetworkCredential.cs
- ApplyTemplatesAction.cs
- ComponentCollection.cs
- EntityDescriptor.cs
- PresentationAppDomainManager.cs
- TemplateBuilder.cs
- X509AsymmetricSecurityKey.cs
- StaticResourceExtension.cs
- ModulesEntry.cs
- SkewTransform.cs
- RadialGradientBrush.cs
- FontStretches.cs
- FullTrustAssembly.cs
- HttpPostedFile.cs
- FieldAccessException.cs
- mediapermission.cs
- RadioButtonRenderer.cs
- StateMachine.cs
- DataChangedEventManager.cs
- Membership.cs
- ObjectQueryExecutionPlan.cs
- Graph.cs
- InternalPermissions.cs
- ChtmlFormAdapter.cs
- SpellerInterop.cs