53 references to Name
System.Workflow.Activities (1)
WebServiceFault.cs (1)
139
throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_PropertyNotSet, FaultProperty.
Name
));
System.Workflow.ComponentModel (47)
AuthoringOM\Bind.cs (2)
994
type = basetypeProvider.GetPropertyType(serviceProvider, dependencyProperty.
Name
);
1016
accessType = basetypeProvider.GetAccessType(serviceProvider, ((DependencyProperty)validationContext.Property).
Name
);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (5)
43
if (obj.GetType().GetProperty(prop.
Name
, BindingFlags.Public | BindingFlags.Instance) == null)
80
errors.Add(new ValidationError(SR.GetString(SR.Error_PropertyDefaultIsReference, dependencyProperty.
Name
), ErrorNumbers.Error_PropertyDefaultIsReference));
84
errors.Add(new ValidationError(SR.GetString(SR.Error_PropertyDefaultTypeMismatch, dependencyProperty.
Name
, dependencyProperty.PropertyType.FullName, dependencyProperty.DefaultMetadata.DefaultValue.GetType().FullName), ErrorNumbers.Error_PropertyDefaultTypeMismatch));
103
propValue = WorkflowMarkupSerializationHelpers.GetEventHandlerName(dependencyObject, dependencyProperty.
Name
);
216
ValidationError error = new ValidationError(SR.GetString(SR.Error_CantResolveEventHandler, dependencyProperty.
Name
, propValue as string), ErrorNumbers.Error_CantResolveEventHandler);
AuthoringOM\Compiler\Validation\PropertyValidationContext.cs (1)
40
return ((DependencyProperty)this.propertyInfo).
Name
;
AuthoringOM\DependencyObject.cs (8)
121
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.
Name
, dependencyProperty.OwnerType.FullName));
189
throw new InvalidOperationException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyProperty.PropertyType.FullName, dependencyProperty.
Name
, value.GetType().FullName }));
209
throw new InvalidOperationException(SR.GetString(SR.Error_NotReadOnlyProperty, dependencyProperty.
Name
, dependencyProperty.OwnerType.FullName));
212
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.
Name
, dependencyProperty.OwnerType.FullName));
256
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.
Name
, dependencyProperty.OwnerType.FullName));
264
throw new ArgumentException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyProperty.PropertyType.FullName, dependencyProperty.
Name
, value.GetType().FullName }), "value");
347
throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyEvent.
Name
, dependencyEvent.OwnerType.FullName));
350
throw new ArgumentException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyEvent.PropertyType.FullName, dependencyEvent.
Name
, value.GetType().FullName }), "value");
AuthoringOM\Design\ExtenderHelpers.cs (1)
40
dependencyProperyies.Add(property.
Name
, property);
AuthoringOM\Design\WorkflowInlining.cs (1)
394
if (dependencyProperty.
Name
== parameterProperty.Name && dependencyProperty.DefaultMetadata.IsMetaProperty)
AuthoringOM\Fault.cs (2)
58
throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_PropertyNotSet, FaultProperty.
Name
));
63
throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_ExceptionTypeNotException, this.FaultType, FaultTypeProperty.
Name
));
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (6)
74
if ((dp.IsEvent && dp.OwnerType.GetField(dp.
Name
+ "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) != null) ||
75
(!dp.IsEvent && dp.OwnerType.GetField(dp.
Name
+ "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) != null))
104
string dependencyPropertyName = dependencyProperty.
Name
+ ((dependencyProperty.IsEvent) ? "Event" : "Property");
107
param1 = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(DependencyProperty)), "FromName", new CodePrimitiveExpression(dependencyProperty.
Name
), new CodeTypeOfExpression(dependencyProperty.OwnerType));
130
if (prop.PropertyName == dependencyProperty.
Name
&& prop.TargetObject.Equals(objectExpression))
182
propName = dependencyProperty.
Name
;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (21)
470
PropertyInfo prop = WorkflowMarkupSerializer.LookupProperty(props, dependencyProperty.
Name
);
737
propertyName = qualifiedName.Name + "." + dependencyProperty.
Name
;
741
propertyName = dependencyProperty.
Name
;
836
propertyName = dependencyProperty.
Name
;
974
propertyName = dependencyProperty.
Name
;
1490
obj1 = LookupEvent(eis, dependencyProperty.
Name
);
1492
obj1 = LookupProperty(pis, dependencyProperty.
Name
);
1495
serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_MissingCLRProperty, dependencyProperty.
Name
, obj.GetType().FullName)));
1539
if (dependencyProperty.OwnerType.GetField(dependencyProperty.
Name
+ "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) == null)
1541
MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Add" + dependencyProperty.
Name
+ "Handler", BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
1550
if (dependencyProperty.OwnerType.GetField(dependencyProperty.
Name
+ "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) == null)
1552
MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Set" + dependencyProperty.
Name
, BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
1579
MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Add" + dependencyProperty.
Name
+ "Handler", BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
1587
WorkflowMarkupSerializationHelpers.SetEventHandlerName(dependencyObject, dependencyProperty.
Name
, value as string);
1589
serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_MissingAddHandler, dependencyProperty.
Name
, dependencyProperty.OwnerType.FullName)));
1592
WorkflowMarkupSerializationHelpers.SetEventHandlerName(dependencyObject, dependencyProperty.
Name
, value as string);
1602
MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Set" + dependencyProperty.
Name
, BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
1612
serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_MissingSetAccessor, dependencyProperty.
Name
, dependencyProperty.OwnerType.FullName)));
1620
PropertyInfo pi = LookupProperty(pis, dependencyProperty.
Name
);
2352
tagName = dependencyProperty.
Name
;
2358
tagName = qualifiedName.Name + "." + dependencyProperty.
Name
;
System.Workflow.Runtime (1)
WorkflowDefinitionDispenser.cs (1)
350
if (dependencyProperty.
Name
== property.Name && dependencyProperty.DefaultMetadata.IsMetaProperty)
System.WorkflowServices (4)
System\Workflow\Activities\ReceiveActivityDesigner.cs (1)
153
if (e.Member != null && e.Member.Name == ReceiveActivity.ServiceOperationInfoProperty.
Name
)
System\Workflow\Activities\SendActivityDesigner.cs (1)
106
if (e.Member != null && e.Member.Name == SendActivity.ServiceOperationInfoProperty.
Name
)
System\Workflow\Activities\ServiceOperationHelpers.cs (2)
54
return TypeDescriptor.GetProperties(activity)[ReceiveActivity.ServiceOperationInfoProperty.
Name
];
59
return TypeDescriptor.GetProperties(activity)[SendActivity.ServiceOperationInfoProperty.
Name
];