6 instantiations of AttributeInfo
System.Workflow.ComponentModel (6)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
31return new AttributeInfoAttribute(new AttributeInfo(attributeType, argumentNames, argumentValues));
AuthoringOM\Design\CustomActivityDesigner.cs (5)
651attributeList.Add(new AttributeInfo(typeof(CategoryAttribute), new string[] { }, new object[] { new CodePrimitiveExpression(property.Category) })); 654attributeList.Add(new AttributeInfo(typeof(DescriptionAttribute), new string[] { }, new object[] { new CodePrimitiveExpression(property.Description) })); 657attributeList.Add(new AttributeInfo(typeof(EditorAttribute), new string[] { }, new object[] { new CodeTypeOfExpression(property.UITypeEditor), new CodeTypeOfExpression(typeof(UITypeEditor)) })); 659attributeList.Add(new AttributeInfo(typeof(BrowsableAttribute), new string[] { }, new object[] { new CodePrimitiveExpression(property.Browseable) })); 660attributeList.Add(new AttributeInfo(typeof(DesignerSerializationVisibilityAttribute), new string[] { }, new object[] { new CodeSnippetExpression(typeof(DesignerSerializationVisibility).Name + "." + property.DesignerSerializationVisibility.ToString()) }));
24 references to AttributeInfo
System.Workflow.ComponentModel (15)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (3)
19private AttributeInfo attributeInfo; 21internal AttributeInfoAttribute(AttributeInfo attributeInfo) 34public AttributeInfo AttributeInfo
AuthoringOM\Design\CustomActivityDesigner.cs (8)
463AttributeInfo attributeInfo = (attribute != null) ? attribute.AttributeInfo : null; 598AttributeInfo[] attributes = CreateCustomPropertyAttributeArray(property, serviceProvider); 617AttributeInfo[] attributes = CreateCustomPropertyAttributeArray(property, serviceProvider); 618AttributeInfo[] oldAttributes = CreateCustomPropertyAttributeArray(oldProperty, serviceProvider); 641private static AttributeInfo[] CreateCustomPropertyAttributeArray(CustomProperty property, IServiceProvider serviceProvider) 646return new AttributeInfo[0]; 648List<AttributeInfo> attributeList = new List<AttributeInfo>();
AuthoringOM\Design\DesignerInterfaces.cs (4)
43void CreateProperty(string className, string propertyName, Type propertyType, AttributeInfo[] attributes, bool emitDependencyProperty, bool isMetaProperty, bool isAttached, Type ownerType, bool isReadOnly); 44void CreateEvent(string className, string eventName, Type eventType, AttributeInfo[] attributes, bool emitDependencyProperty); 47void UpdateProperty(string className, string oldPropertyName, Type oldPropertyType, string newPropertyName, Type newPropertyType, AttributeInfo[] attributes, bool emitDependencyProperty, bool isMetaProperty); 48void UpdateEvent(string className, string oldEventName, Type oldEventType, string newEventName, Type newEventType, AttributeInfo[] attributes, bool emitDependencyProperty, bool isMetaProperty);
System.WorkflowServices (9)
System\Workflow\Activities\ServiceOperationHelpers.cs (6)
200internal static SessionMode GetContractSessionMode(IServiceProvider serviceProvider, AttributeInfo attribInfo) 231internal static bool GetOperationAsyncPattern(IServiceProvider serviceProvider, AttributeInfo attribInfo) 261internal static bool IsInitiatingOperationContract(IServiceProvider serviceProvider, AttributeInfo attribInfo) 305private static string[] GetAttributePropertyNames(AttributeInfo attributeInfo) 314FieldInfo argumentNamesField = typeof(AttributeInfo).GetField("argumentNames", bindingFlags); 324private static bool TryGetArgumentValueAs<T>(IServiceProvider serviceProvider, AttributeInfo attribInfo, string propertyName, out T propertyValue)
System\Workflow\Activities\TypedOperationInfo.cs (3)
237private static string[] GetAttributePropertyNames(AttributeInfo attributeInfo) 246FieldInfo argumentNamesField = typeof(AttributeInfo).GetField("argumentNames", bindingFlags); 255T GetAttributePropertyValue<T>(IServiceProvider provider, AttributeInfo attribInfo, string propertyName)