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
- Native.cs
- OleDbError.cs
- GeneralTransform3D.cs
- ImageKeyConverter.cs
- HorizontalAlignConverter.cs
- FontWeights.cs
- ListenerElementsCollection.cs
- InputElement.cs
- AnimationClock.cs
- QueryOutputWriter.cs
- _DomainName.cs
- EventTrigger.cs
- RoleGroupCollection.cs
- SizeConverter.cs
- StreamInfo.cs
- StringExpressionSet.cs
- FixedHighlight.cs
- WizardForm.cs
- IisTraceListener.cs
- DataGridPageChangedEventArgs.cs
- TraversalRequest.cs
- AcceleratedTokenAuthenticator.cs
- Highlights.cs
- SimpleHandlerBuildProvider.cs
- FloaterBaseParagraph.cs
- ProviderUtil.cs
- Transform3DGroup.cs
- DebugInfoExpression.cs
- ObjectDataSourceDisposingEventArgs.cs
- DBCommand.cs
- MessageQueueKey.cs
- HandoffBehavior.cs
- PropagationProtocolsTracing.cs
- IconBitmapDecoder.cs
- ResourcesBuildProvider.cs
- SafeRegistryHandle.cs
- FacetChecker.cs
- DefinitionBase.cs
- AttachedPropertyDescriptor.cs
- Int64KeyFrameCollection.cs
- WorkflowExecutor.cs
- Crc32.cs
- SQLMembershipProvider.cs
- Module.cs
- DriveNotFoundException.cs
- MouseActionValueSerializer.cs
- AssemblyBuilder.cs
- DataGridAutoFormat.cs
- SpeechRecognizer.cs
- CapacityStreamGeometryContext.cs
- Native.cs
- ViewSimplifier.cs
- ProcessThreadCollection.cs
- ServiceOperationInfoTypeConverter.cs
- COM2ExtendedBrowsingHandler.cs
- StringAnimationUsingKeyFrames.cs
- BitmapMetadataBlob.cs
- Effect.cs
- SudsCommon.cs
- SevenBitStream.cs
- HttpAsyncResult.cs
- WebPartTransformerAttribute.cs
- FSWPathEditor.cs
- ConnectivityStatus.cs
- CopyOnWriteList.cs
- Environment.cs
- LinqDataSourceEditData.cs
- ButtonField.cs
- InputScope.cs
- XmlReader.cs
- uribuilder.cs
- WindowsSecurityTokenAuthenticator.cs
- GPPOINTF.cs
- EventListenerClientSide.cs
- WebBrowserContainer.cs
- SelectorItemAutomationPeer.cs
- ServiceOperationParameter.cs
- MediaPlayer.cs
- DesignerVerb.cs
- ResourcesChangeInfo.cs
- TransportDefaults.cs
- ScrollEvent.cs
- RootBuilder.cs
- isolationinterop.cs
- SHA512CryptoServiceProvider.cs
- LockedBorderGlyph.cs
- VariantWrapper.cs
- CompilationSection.cs
- WmlCommandAdapter.cs
- InputProcessorProfilesLoader.cs
- Viewport3DVisual.cs
- HandlerWithFactory.cs
- StatusCommandUI.cs
- WindowsTokenRoleProvider.cs
- InheritedPropertyChangedEventArgs.cs
- Point3D.cs
- AppDomainShutdownMonitor.cs
- ToolStripDropDownItemDesigner.cs
- DeclaredTypeValidatorAttribute.cs
- ComboBox.cs