1 write to context
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
53
this.
context
= context;
24 references to context
System.Workflow.ComponentModel (24)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (24)
144
this.Text = string.Format(CultureInfo.CurrentCulture, ActivityBindDialogTitleFormat,
context
.PropertyDescriptor.Name);
147
if (this.
context
.PropertyDescriptor is DynamicPropertyDescriptor)
148
this.boundType = PropertyDescriptorUtils.GetBaseType(this.
context
.PropertyDescriptor, PropertyDescriptorUtils.GetComponent(
context
), serviceProvider);
181
Activity activity = PropertyDescriptorUtils.GetComponent(
context
) as Activity;
184
IReferenceService rs = this.
context
.GetService(typeof(IReferenceService)) as IReferenceService;
186
activity = rs.GetComponent(this.
context
.Instance) as Activity;
189
ActivityBind previousBinding =
context
.PropertyDescriptor.GetValue(
context
.Instance) as ActivityBind;
204
this.memberNameTextBox.Text = DesignerHelpers.GenerateUniqueIdentifier(this.serviceProvider, activity.Name + "_" +
context
.PropertyDescriptor.Name, customPropertyNames.ToArray());
259
Activity bindingActivity = PropertyDescriptorUtils.GetComponent(this.
context
) as Activity;
262
string propertyName =
context
.PropertyDescriptor.Name;
275
PropertyValidationContext propertyValidationContext = new PropertyValidationContext(this.
context
.Instance, DependencyProperty.FromName(this.
context
.PropertyDescriptor.Name, this.
context
.Instance.GetType()));
276
manager.Context.Append(this.
context
.Instance); //
310
Activity activity = PropertyDescriptorUtils.GetComponent(
context
) as Activity;
313
IReferenceService rs = this.
context
.GetService(typeof(IReferenceService)) as IReferenceService;
315
activity = rs.GetComponent(this.
context
.Instance) as Activity;
321
ValidationHelpers.ValidateIdentifier(
context
, newMemberName);
329
Type customActivityType = CustomActivityDesignerHelper.GetCustomActivityType(
context
);
330
SupportedLanguages language = CompilerHelpers.GetSupportedLanguage(
context
);
347
IDesignerHost host = this.
context
.GetService(typeof(IDesignerHost)) as IDesignerHost;
354
DesignerHelpers.ShowError(
context
, errorMsg);