2 instantiations of CustomProperty
System.Workflow.ComponentModel (2)
AuthoringOM\Design\CustomActivityDesigner.cs (2)
432
CustomProperty customProperty = new
CustomProperty
(serviceProvider);
886
CustomProperty newCustomProperty = new
CustomProperty
(serviceProvider);
28 references to CustomProperty
System.Workflow.ComponentModel (28)
AuthoringOM\Design\ActivityDesigner.cs (3)
2119
List<
CustomProperty
> properties = CustomActivityDesignerHelper.GetCustomProperties(serviceProvider);
2141
CustomProperty
newCustomProperty =
CustomProperty
.CreateCustomProperty(Activity.Site, DesignerHelpers.GenerateUniqueIdentifier(Activity.Site, Activity.Name + "_" + propertyDescriptor.Name, customPropertyNames.ToArray()), propertyDescriptor, Activity);
AuthoringOM\Design\CustomActivityDesigner.cs (21)
397
internal static List<
CustomProperty
> GetCustomProperties(IServiceProvider serviceProvider)
409
List<
CustomProperty
> cpc = new List<
CustomProperty
>();
422
CustomProperty
eventProperty = CreateCustomProperty(serviceProvider, customActivityType, evt, evt.EventHandlerType);
430
private static
CustomProperty
CreateCustomProperty(IServiceProvider serviceProvider, Type customActivityType, MemberInfo member, Type propertyType)
432
CustomProperty
customProperty = new CustomProperty(serviceProvider);
509
internal static void SetCustomProperties(List<
CustomProperty
> customProperties, IServiceProvider serviceProvider)
518
List<
CustomProperty
> existingCustomProperties = GetCustomProperties(serviceProvider);
527
private static void RemoveDeletedProperties(List<
CustomProperty
> propCollection, Type customActivityType, IServiceProvider serviceProvider)
538
foreach (
CustomProperty
customProperty in propCollection)
555
foreach (
CustomProperty
customProperty in propCollection)
569
private static void AddNewProperties(List<
CustomProperty
> propCollection, Type customActivityType, IServiceProvider serviceProvider, List<
CustomProperty
> existingProps)
585
foreach (
CustomProperty
property in propCollection)
608
CustomProperty
oldProperty = null;
609
foreach (
CustomProperty
existingProperty in existingProps)
641
private static AttributeInfo[] CreateCustomPropertyAttributeArray(
CustomProperty
property, IServiceProvider serviceProvider)
665
private static bool ArePropertiesDifferent(
CustomProperty
property,
CustomProperty
oldProperty)
884
public static
CustomProperty
CreateCustomProperty(IServiceProvider serviceProvider, string customPropertyName, PropertyDescriptor propertyDescriptor, object propertyOwner)
886
CustomProperty
newCustomProperty = new CustomProperty(serviceProvider);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
49
List<
CustomProperty
> properties;
200
foreach (
CustomProperty
customProperty in this.properties)
AuthoringOM\Design\UITypeEditors.cs (2)
142
List<
CustomProperty
> properties = CustomActivityDesignerHelper.GetCustomProperties(context);
145
properties.Add(
CustomProperty
.CreateCustomProperty(this.serviceProvider, bindDialog.NewMemberName, context.PropertyDescriptor, context.Instance));