10 references to GetArgumentValueAs
System.Workflow.ComponentModel (8)
AuthoringOM\Design\CustomActivityDesigner.cs (7)
470
customProperty.Browseable = (bool)attributeInfo.
GetArgumentValueAs
(serviceProvider, 0, typeof(bool));
474
customProperty.Category = attributeInfo.
GetArgumentValueAs
(serviceProvider, 0, typeof(string)) as string;
478
customProperty.Description = attributeInfo.
GetArgumentValueAs
(serviceProvider, 0, typeof(string)) as string;
482
customProperty.DesignerSerializationVisibility = (DesignerSerializationVisibility)attributeInfo.
GetArgumentValueAs
(serviceProvider, 0, typeof(DesignerSerializationVisibility));
486
Type editorType = attributeInfo.
GetArgumentValueAs
(serviceProvider, 1, typeof(Type)) as Type;
489
Type uiTypeEditorType = attributeInfo.
GetArgumentValueAs
(serviceProvider, 0, typeof(Type)) as Type;
494
customProperty.UITypeEditor = attributeInfo.
GetArgumentValueAs
(serviceProvider, 0, typeof(string)) as string;
AuthoringOM\Design\PropertyDescriptors.cs (1)
461
browsable = (bool)attributeInfoAttribute.AttributeInfo.
GetArgumentValueAs
(context, 0, typeof(bool));
System.WorkflowServices (2)
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
349
propertyValue = (T) attribInfo.
GetArgumentValueAs
(serviceProvider, argumentIndex, typeof(T));
System\Workflow\Activities\TypedOperationInfo.cs (1)
277
return (T) attribInfo.
GetArgumentValueAs
(provider, argumentIndex, typeof(T));