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
- FakeModelPropertyImpl.cs
- ObjectItemCollection.cs
- Validator.cs
- SymbolMethod.cs
- AppSettingsReader.cs
- DbProviderSpecificTypePropertyAttribute.cs
- EFTableProvider.cs
- MachineKeySection.cs
- CheckPair.cs
- ControlBindingsCollection.cs
- CodeCatchClause.cs
- shaper.cs
- GroupQuery.cs
- RawStylusInputCustomData.cs
- ConditionalAttribute.cs
- FixedPosition.cs
- LOSFormatter.cs
- BCLDebug.cs
- Shape.cs
- AdRotator.cs
- MenuTracker.cs
- regiisutil.cs
- NavigationProperty.cs
- Bold.cs
- ObjectToIdCache.cs
- querybuilder.cs
- SqlExpressionNullability.cs
- XmlSchemaDocumentation.cs
- XmlSchemaParticle.cs
- ComPlusInstanceContextInitializer.cs
- GroupDescription.cs
- _NtlmClient.cs
- RequestContext.cs
- AppSecurityManager.cs
- _OverlappedAsyncResult.cs
- RestClientProxyHandler.cs
- CollectionViewSource.cs
- EntityCommandExecutionException.cs
- InfoCardAsymmetricCrypto.cs
- ControlFilterExpression.cs
- TransformerConfigurationWizardBase.cs
- XamlTypeMapper.cs
- ColumnMapProcessor.cs
- NumberFunctions.cs
- DirectoryNotFoundException.cs
- ObjectQueryState.cs
- RootBrowserWindowProxy.cs
- InfiniteTimeSpanConverter.cs
- X509CertificateEndpointIdentity.cs
- TargetException.cs
- XDeferredAxisSource.cs
- XmlSchemaType.cs
- FlowNode.cs
- PositiveTimeSpanValidator.cs
- SqlBulkCopy.cs
- ServiceContractViewControl.cs
- Debugger.cs
- DataGridViewButtonCell.cs
- GridViewSelectEventArgs.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ColumnCollection.cs
- RemoteCryptoDecryptRequest.cs
- EntityViewGenerationConstants.cs
- PerformanceCounterManager.cs
- Int64Animation.cs
- ProcessHostFactoryHelper.cs
- XXXOnTypeBuilderInstantiation.cs
- TextServicesDisplayAttribute.cs
- RenderData.cs
- ToolTipAutomationPeer.cs
- WebPartMinimizeVerb.cs
- NativeMethods.cs
- DuplexChannel.cs
- DecimalConstantAttribute.cs
- DataListItemEventArgs.cs
- DataGridRowDetailsEventArgs.cs
- StringFunctions.cs
- HttpListenerException.cs
- RegexWorker.cs
- IdentifierCollection.cs
- ChunkedMemoryStream.cs
- EntityException.cs
- DataServiceProviderMethods.cs
- ReflectionUtil.cs
- GeneralTransform.cs
- initElementDictionary.cs
- StringInfo.cs
- WebPartMinimizeVerb.cs
- ReservationNotFoundException.cs
- JpegBitmapDecoder.cs
- CombinedGeometry.cs
- IntegerValidator.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- X509UI.cs
- BuilderInfo.cs
- HtmlAnchor.cs
- PageThemeCodeDomTreeGenerator.cs
- ButtonBaseAutomationPeer.cs
- ListView.cs
- TableLayoutPanelBehavior.cs