Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / UpdatableGenericsFeature.cs / 1305376 / UpdatableGenericsFeature.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation { using System; using System.Activities.Presentation.Model; class UpdatableGenericArgumentsFeature : Feature { public override void Initialize(EditingContext context, Type modelType) { GenericArgumentUpdater genericArgumentUpdater = context.Services.GetService(); if (genericArgumentUpdater == null) { genericArgumentUpdater = new GenericArgumentUpdater(context); context.Services.Publish (genericArgumentUpdater); } genericArgumentUpdater.AddSupportForUpdatingTypeArgument(modelType); } } } // 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
- UnmanagedBitmapWrapper.cs
- GenericEnumerator.cs
- ToolStripOverflow.cs
- AuthenticationException.cs
- ColorAnimation.cs
- DbTransaction.cs
- ToolStripComboBox.cs
- BaseCAMarshaler.cs
- XslCompiledTransform.cs
- UriExt.cs
- X509CertificateChain.cs
- MenuTracker.cs
- Typeface.cs
- TextServicesDisplayAttributePropertyRanges.cs
- TabControl.cs
- VisualStyleElement.cs
- MimeWriter.cs
- ImageFormatConverter.cs
- TextClipboardData.cs
- CachedPathData.cs
- PointLight.cs
- RemotingConfigParser.cs
- XPathSelfQuery.cs
- PolicyValidationException.cs
- FontDriver.cs
- MergablePropertyAttribute.cs
- XmlLanguage.cs
- Literal.cs
- ObjectConverter.cs
- FileUpload.cs
- Control.cs
- FixedPage.cs
- QueryModel.cs
- TemplateInstanceAttribute.cs
- TreeViewImageKeyConverter.cs
- DeploymentSectionCache.cs
- ItemsControl.cs
- ListBoxItem.cs
- GenericAuthenticationEventArgs.cs
- DrawToolTipEventArgs.cs
- IconConverter.cs
- BaseParaClient.cs
- InstanceData.cs
- OracleString.cs
- SmiContextFactory.cs
- Vector3D.cs
- WebPartZoneDesigner.cs
- HeaderedContentControl.cs
- IProducerConsumerCollection.cs
- XslTransform.cs
- TextSpanModifier.cs
- HttpGetProtocolReflector.cs
- WindowsAuthenticationEventArgs.cs
- ComponentManagerBroker.cs
- CriticalFinalizerObject.cs
- EmptyEnumerable.cs
- SafeEventLogReadHandle.cs
- ImplicitInputBrush.cs
- DynamicMetaObjectBinder.cs
- GenericsNotImplementedException.cs
- embossbitmapeffect.cs
- Journal.cs
- IconConverter.cs
- AnnotationObservableCollection.cs
- ContainerControlDesigner.cs
- LowerCaseStringConverter.cs
- Screen.cs
- SettingsPropertyNotFoundException.cs
- ProfileServiceManager.cs
- DocumentViewer.cs
- EntityClassGenerator.cs
- MouseGesture.cs
- InputReferenceExpression.cs
- PointF.cs
- PrimitiveDataContract.cs
- AlternationConverter.cs
- NotifyIcon.cs
- BrowserCapabilitiesFactoryBase.cs
- SqlConnectionString.cs
- ExpressionBuilder.cs
- HtmlMeta.cs
- LayoutUtils.cs
- DataObjectFieldAttribute.cs
- LightweightCodeGenerator.cs
- RangeValidator.cs
- HintTextConverter.cs
- TcpAppDomainProtocolHandler.cs
- VolatileEnlistmentMultiplexing.cs
- GeneralTransformCollection.cs
- IdnMapping.cs
- BaseParser.cs
- MsmqDecodeHelper.cs
- Cursor.cs
- ECDsa.cs
- GroupBoxAutomationPeer.cs
- ProcessManager.cs
- BuildProvidersCompiler.cs
- XmlDeclaration.cs
- MSAANativeProvider.cs
- OneOfElement.cs