Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Serializer / CompositeActivityTypeDescriptorProvider.cs / 1305376 / CompositeActivityTypeDescriptorProvider.cs
namespace System.Workflow.ComponentModel.Serialization { using System; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.ComponentModel.Design.Serialization; using System.Collections; using System.Resources; using System.Workflow.ComponentModel.Design; using System.Collections.Generic; using Microsoft.CSharp; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Compiler; using System.CodeDom.Compiler; using System.IO; using System.Reflection; using System.Diagnostics; #region CompositeActivityTypeDescriptorProvider internal class CompositeActivityTypeDescriptorProvider : TypeDescriptionProvider { public CompositeActivityTypeDescriptorProvider() : base(TypeDescriptor.GetProvider(typeof(CompositeActivity))) { } public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) { ICustomTypeDescriptor realTypeDescriptor = base.GetTypeDescriptor(objectType, instance); return new CompositeActivityTypeDescriptor(realTypeDescriptor); } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Workflow.ComponentModel.Serialization { using System; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.ComponentModel.Design.Serialization; using System.Collections; using System.Resources; using System.Workflow.ComponentModel.Design; using System.Collections.Generic; using Microsoft.CSharp; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Compiler; using System.CodeDom.Compiler; using System.IO; using System.Reflection; using System.Diagnostics; #region CompositeActivityTypeDescriptorProvider internal class CompositeActivityTypeDescriptorProvider : TypeDescriptionProvider { public CompositeActivityTypeDescriptorProvider() : base(TypeDescriptor.GetProvider(typeof(CompositeActivity))) { } public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) { ICustomTypeDescriptor realTypeDescriptor = base.GetTypeDescriptor(objectType, instance); return new CompositeActivityTypeDescriptor(realTypeDescriptor); } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TaskFormBase.cs
- ScaleTransform3D.cs
- Cell.cs
- _LocalDataStoreMgr.cs
- IInstanceTable.cs
- InstallerTypeAttribute.cs
- ServiceInstanceProvider.cs
- ConvertersCollection.cs
- NativeMethods.cs
- CodeMemberField.cs
- DependencyPropertyChangedEventArgs.cs
- XhtmlBasicCalendarAdapter.cs
- DesignerUtility.cs
- Serializer.cs
- BoolExpression.cs
- DesignerTransaction.cs
- AstTree.cs
- Documentation.cs
- Point3DValueSerializer.cs
- BatchServiceHost.cs
- FormViewInsertedEventArgs.cs
- SqlCacheDependencySection.cs
- SchemaImporterExtensionElement.cs
- ParentUndoUnit.cs
- PeerCollaboration.cs
- ProtectedConfigurationProviderCollection.cs
- SqlBinder.cs
- dbdatarecord.cs
- OleStrCAMarshaler.cs
- SystemColors.cs
- ArrayExtension.cs
- LateBoundBitmapDecoder.cs
- clipboard.cs
- ByeMessage11.cs
- OperatingSystem.cs
- WebPartVerb.cs
- UnhandledExceptionEventArgs.cs
- WebConfigurationFileMap.cs
- PassportAuthenticationEventArgs.cs
- EntityDataSourceView.cs
- WindowsRichEdit.cs
- ProtectedConfigurationSection.cs
- AnimatedTypeHelpers.cs
- EndEvent.cs
- EdmEntityTypeAttribute.cs
- TargetInvocationException.cs
- Int16.cs
- RuleSetReference.cs
- Compilation.cs
- Trigger.cs
- SourceInterpreter.cs
- WindowProviderWrapper.cs
- InvalidFilterCriteriaException.cs
- ResourceReader.cs
- RegexRunnerFactory.cs
- HwndHost.cs
- TableItemPattern.cs
- _ContextAwareResult.cs
- ipaddressinformationcollection.cs
- _NetworkingPerfCounters.cs
- ValuePatternIdentifiers.cs
- DataGrid.cs
- TdsValueSetter.cs
- Double.cs
- UnaryExpressionHelper.cs
- HttpCapabilitiesSectionHandler.cs
- SystemNetHelpers.cs
- PointValueSerializer.cs
- StringDictionaryEditor.cs
- CodeMethodInvokeExpression.cs
- DragEvent.cs
- PersonalizationProvider.cs
- HyperlinkAutomationPeer.cs
- SID.cs
- AndCondition.cs
- PointValueSerializer.cs
- MimeObjectFactory.cs
- DataGridCheckBoxColumn.cs
- Activation.cs
- DefaultExpression.cs
- ClientScriptItem.cs
- TypeSource.cs
- XmlNodeChangedEventArgs.cs
- SchemaImporterExtensionsSection.cs
- LinkLabelLinkClickedEvent.cs
- ReadOnlyCollectionBase.cs
- EntityContainer.cs
- XmlNotation.cs
- DataMemberFieldConverter.cs
- PageBuildProvider.cs
- Serializer.cs
- ClientSettingsSection.cs
- HtmlDocument.cs
- AffineTransform3D.cs
- OdbcConnectionFactory.cs
- ClientSponsor.cs
- Semaphore.cs
- SqlGatherProducedAliases.cs
- ComponentEvent.cs
- Int32Rect.cs