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
- LinqDataView.cs
- PeerMessageDispatcher.cs
- AddInIpcChannel.cs
- ServiceProviders.cs
- ViewValidator.cs
- UpdateEventArgs.cs
- HttpChannelHelper.cs
- XmlSerializer.cs
- IndexObject.cs
- PropertyChangedEventManager.cs
- XsdBuildProvider.cs
- CacheChildrenQuery.cs
- FileReservationCollection.cs
- UserNameSecurityToken.cs
- ListViewContainer.cs
- Helper.cs
- TextServicesHost.cs
- CommandManager.cs
- CodePrimitiveExpression.cs
- CapabilitiesUse.cs
- Hash.cs
- Triangle.cs
- DnsPermission.cs
- GeometryValueSerializer.cs
- Cursors.cs
- ArraySubsetEnumerator.cs
- HtmlFormParameterReader.cs
- ServiceReference.cs
- DirectionalLight.cs
- DependentList.cs
- TextBox.cs
- BrowserDefinition.cs
- Inline.cs
- Token.cs
- indexingfiltermarshaler.cs
- CacheChildrenQuery.cs
- CssStyleCollection.cs
- XmlTextReader.cs
- Misc.cs
- ProcessingInstructionAction.cs
- OwnerDrawPropertyBag.cs
- SqlProviderServices.cs
- EdmItemError.cs
- UndirectedGraph.cs
- HtmlLink.cs
- ValidationPropertyAttribute.cs
- ExpandableObjectConverter.cs
- RectIndependentAnimationStorage.cs
- Point3DValueSerializer.cs
- MailDefinition.cs
- TextSerializer.cs
- SectionUpdates.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- Symbol.cs
- PropertyGrid.cs
- ExpressionBindingCollection.cs
- Point3DAnimation.cs
- ExceptionWrapper.cs
- QilInvoke.cs
- PropertyBuilder.cs
- WindowsToolbarItemAsMenuItem.cs
- NativeMethods.cs
- DataGridViewDataConnection.cs
- AlternateView.cs
- AuthenticationModuleElementCollection.cs
- WorkItem.cs
- TreeWalker.cs
- MembershipSection.cs
- ConfigsHelper.cs
- ImageCodecInfo.cs
- ErrorFormatterPage.cs
- InvalidComObjectException.cs
- DrawListViewColumnHeaderEventArgs.cs
- PersistenceProviderDirectory.cs
- AutomationAttributeInfo.cs
- Light.cs
- FormViewDeleteEventArgs.cs
- Point3DCollection.cs
- HtmlValidatorAdapter.cs
- PinnedBufferMemoryStream.cs
- WebPartCloseVerb.cs
- CompoundFileReference.cs
- PingOptions.cs
- ValuePattern.cs
- Int16Converter.cs
- ImageAutomationPeer.cs
- ConsumerConnectionPointCollection.cs
- HttpModuleCollection.cs
- PropertyManager.cs
- ControlAdapter.cs
- Transform.cs
- RawAppCommandInputReport.cs
- MergablePropertyAttribute.cs
- WebPartZone.cs
- Int16Animation.cs
- MetadataSection.cs
- WeakHashtable.cs
- UInt32.cs
- WebPartDescriptionCollection.cs
- HttpEncoder.cs