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
- _FtpControlStream.cs
- TypeConverterHelper.cs
- ImageBrush.cs
- DetailsViewDeletedEventArgs.cs
- CancellationToken.cs
- SpecialFolderEnumConverter.cs
- XPathNavigator.cs
- XmlBufferReader.cs
- StringValidatorAttribute.cs
- HttpProfileGroupBase.cs
- ToolTipService.cs
- TextBlockAutomationPeer.cs
- DateTimeConstantAttribute.cs
- SourceFileInfo.cs
- RtfControls.cs
- ScrollBarRenderer.cs
- FileNotFoundException.cs
- NumericUpDown.cs
- Int16.cs
- ObjectStateEntryDbDataRecord.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DelimitedListTraceListener.cs
- TextSimpleMarkerProperties.cs
- WebRequest.cs
- Matrix3D.cs
- StorageComplexTypeMapping.cs
- FileDialogPermission.cs
- ElementAtQueryOperator.cs
- BitmapImage.cs
- Config.cs
- ComPlusServiceHost.cs
- WindowsListViewSubItem.cs
- KeyConverter.cs
- TripleDESCryptoServiceProvider.cs
- SymLanguageType.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- _ShellExpression.cs
- OracleConnectionString.cs
- QilBinary.cs
- SecurityHeaderTokenResolver.cs
- CryptoStream.cs
- SymmetricKey.cs
- AxHost.cs
- WorkflowHostingEndpoint.cs
- SqlBulkCopyColumnMappingCollection.cs
- ConditionCollection.cs
- CodeIdentifiers.cs
- MemoryStream.cs
- ContextQuery.cs
- GlobalEventManager.cs
- ServiceBusyException.cs
- HierarchicalDataTemplate.cs
- GridViewColumnHeaderAutomationPeer.cs
- SqlResolver.cs
- Executor.cs
- Byte.cs
- Win32MouseDevice.cs
- RSACryptoServiceProvider.cs
- OleDbInfoMessageEvent.cs
- ToolStripDesignerUtils.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- XmlTextReaderImplHelpers.cs
- AdRotator.cs
- XamlFilter.cs
- XmlSchemaSimpleType.cs
- XmlArrayItemAttribute.cs
- SafePEFileHandle.cs
- Confirm.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DatagridviewDisplayedBandsData.cs
- PreProcessInputEventArgs.cs
- ContourSegment.cs
- ApplicationFileParser.cs
- PolyLineSegmentFigureLogic.cs
- BaseDataList.cs
- SamlDelegatingWriter.cs
- Vector.cs
- DataViewListener.cs
- OdbcException.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- UnsafeNativeMethods.cs
- XhtmlBasicCommandAdapter.cs
- CommandHelper.cs
- ReferentialConstraint.cs
- RuntimeHelpers.cs
- unitconverter.cs
- AppDomainAttributes.cs
- RightsManagementInformation.cs
- JoinQueryOperator.cs
- AsyncDataRequest.cs
- SectionRecord.cs
- ClockController.cs
- InputScope.cs
- TypefaceMetricsCache.cs
- SizeAnimationUsingKeyFrames.cs
- Messages.cs
- Timeline.cs
- SoapHeaderAttribute.cs
- GuidTagList.cs
- GroupAggregateExpr.cs