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