10 instantiations of TypeDescriptorContext
System.Workflow.ComponentModel (10)
AuthoringOM\Design\DesignerHelpers.cs (4)
1347
TypeDescriptorContext context = new
TypeDescriptorContext
(serviceProvider, property, component);
1740
PropertyDescriptor namePropertyDescriptor = TypeDescriptor.GetConverter(value).GetProperties(new
TypeDescriptorContext
(activity.Site, null, value), value)["ConditionName"];
1741
PropertyDescriptor expressionPropertyDescriptor = TypeDescriptor.GetConverter(value).GetProperties(new
TypeDescriptorContext
(activity.Site, null, value), value)["Expression"];
1748
string rulesText = (expression != null) ? expressionPropertyDescriptor.Converter.ConvertTo(new
TypeDescriptorContext
(activity.Site, null, value), System.Threading.Thread.CurrentThread.CurrentUICulture, expression, typeof(string)) as string : null;
AuthoringOM\Design\PropertyDescriptors.cs (2)
300
bool propertiesSupported = RealPropertyDescriptor.Converter.GetPropertiesSupported((PropertyOwner != null) ? new
TypeDescriptorContext
(ServiceProvider, RealPropertyDescriptor, PropertyOwner) : null);
315
bool propertiesSupported = RealPropertyDescriptor.Converter.GetPropertiesSupported((PropertyOwner != null) ? new
TypeDescriptorContext
(ServiceProvider, RealPropertyDescriptor, PropertyOwner) : null);
AuthoringOM\Design\TypeConverters.cs (1)
371
realContext = new
TypeDescriptorContext
(currentContext, activityBindPropertyDescriptor.RealPropertyDescriptor, currentContext.Instance);
AuthoringOM\Serializer\PropertySegmentSerializer.cs (2)
151
context = new
TypeDescriptorContext
(propertyInfo.PropertySegment.ServiceProvider, propertyInfo.PropertySegment.PropertyDescriptor, propertyInfo.PropertySegment.Object);
159
context = new
TypeDescriptorContext
(propertyInfo.PropertySegment.ServiceProvider, propertyDescriptor, propertyInfo.PropertySegment.Object);
Shared\BasePropertyDescriptor.cs (1)
683
ITypeFilterProvider filterProvider = PropertyDescriptorUtils.GetComponent(new
TypeDescriptorContext
(ServiceProvider, RealPropertyDescriptor, component)) as ITypeFilterProvider;
1 reference to TypeDescriptorContext
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
1347
TypeDescriptorContext
context = new TypeDescriptorContext(serviceProvider, property, component);