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
- WebPartsPersonalizationAuthorization.cs
- RequestBringIntoViewEventArgs.cs
- CacheVirtualItemsEvent.cs
- Constraint.cs
- Run.cs
- TraceSection.cs
- ConditionalAttribute.cs
- RelationshipManager.cs
- HtmlFormWrapper.cs
- SpecialNameAttribute.cs
- Attributes.cs
- HttpCachePolicy.cs
- SimpleHandlerFactory.cs
- CaseInsensitiveHashCodeProvider.cs
- XmlFileEditor.cs
- InputLanguageManager.cs
- Hash.cs
- Array.cs
- BamlStream.cs
- SequentialUshortCollection.cs
- bidPrivateBase.cs
- Debug.cs
- XslCompiledTransform.cs
- EditorZoneBase.cs
- StringSorter.cs
- AdPostCacheSubstitution.cs
- MimeMultiPart.cs
- SortedList.cs
- RuntimeCompatibilityAttribute.cs
- OdbcReferenceCollection.cs
- ProcessHost.cs
- _NetworkingPerfCounters.cs
- SpellerInterop.cs
- Native.cs
- TextTreeFixupNode.cs
- ConsumerConnectionPoint.cs
- WebPartEditVerb.cs
- PrimitiveXmlSerializers.cs
- Funcletizer.cs
- SmiConnection.cs
- DataGridViewCellLinkedList.cs
- DataGridPageChangedEventArgs.cs
- TreeSet.cs
- XmlSchemaFacet.cs
- QueryPageSettingsEventArgs.cs
- ActivityMetadata.cs
- VBCodeProvider.cs
- EntityRecordInfo.cs
- SqlStatistics.cs
- WebPartActionVerb.cs
- FontDifferentiator.cs
- SqlBuffer.cs
- PeerCollaborationPermission.cs
- ActivationServices.cs
- FixedSOMImage.cs
- Guid.cs
- Point.cs
- NavigationHelper.cs
- ChameleonKey.cs
- ContextMenuService.cs
- GetWinFXPath.cs
- XmlJsonWriter.cs
- ClientCultureInfo.cs
- Membership.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- EntitySet.cs
- XmlCodeExporter.cs
- UserPreferenceChangingEventArgs.cs
- Section.cs
- PackUriHelper.cs
- TreeIterator.cs
- ObjectDataSourceMethodEditor.cs
- ColumnCollection.cs
- UnsafeNativeMethods.cs
- SQLGuid.cs
- WebPartConnection.cs
- XmlSchemaAnnotated.cs
- BinaryObjectInfo.cs
- RichListBox.cs
- HScrollProperties.cs
- SoundPlayer.cs
- ZipIORawDataFileBlock.cs
- NumericUpDownAccelerationCollection.cs
- StringWriter.cs
- CSharpCodeProvider.cs
- ScrollChangedEventArgs.cs
- PathSegmentCollection.cs
- QueryReaderSettings.cs
- ConfigurationManager.cs
- DBBindings.cs
- FontSizeConverter.cs
- ImageListUtils.cs
- TextTreeUndo.cs
- DataGridParentRows.cs
- CollectionView.cs
- DataGridTable.cs
- RenameRuleObjectDialog.Designer.cs
- SecurityNegotiationException.cs
- DesignerSerializerAttribute.cs
- HtmlControl.cs