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