18 references to CorrelationParameterAttribute
System.Workflow.Activities (18)
CorrelationValidator.cs (12)
106
object[] correlationParameterAttributes = interfaceType.GetCustomAttributes(typeof(
CorrelationParameterAttribute
), false);
380
object[] corrParamAttribs = interfaceType.GetCustomAttributes(typeof(
CorrelationParameterAttribute
), false);
473
foreach (object interfaceAttribute in interfaceType.GetCustomAttributes(typeof(
CorrelationParameterAttribute
), false))
475
CorrelationParameterAttribute
parameterAttribute = Helpers.GetAttributeFromObject<
CorrelationParameterAttribute
>(interfaceAttribute);
478
ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(
CorrelationParameterAttribute
).Name, "Name", interfaceType.Name), ErrorNumbers.Error_CorrelationAttributeInvalid);
479
error.UserData.Add(typeof(
CorrelationParameterAttribute
), interfaceType.Name);
485
ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DuplicateCorrelationAttribute, typeof(
CorrelationParameterAttribute
).Name, parameterAttribute.Name, interfaceType.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute);
486
error.UserData.Add(typeof(
CorrelationParameterAttribute
), interfaceType.Name);
576
ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationParameterNotFound, typeof(CorrelationAliasAttribute).Name, paramName, memberInfo.Name, typeof(
CorrelationParameterAttribute
).Name, interfaceType.Name), ErrorNumbers.Error_CorrelationParameterNotFound);
603
error.UserData.Add(typeof(
CorrelationParameterAttribute
), (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name);
646
error.UserData.Add(typeof(
CorrelationParameterAttribute
), interfaceType.Name);
Designers\EventSinkActivityDesigner.cs (1)
45
object[] corrParamAttribs = interfaceType.GetCustomAttributes(typeof(
CorrelationParameterAttribute
), false);
Designers\InvokeMethodActivityDesigner.cs (1)
44
object[] corrParamAttribs = interfaceType.GetCustomAttributes(typeof(
CorrelationParameterAttribute
), false);
LocalService\CorrelationResolver.cs (4)
108
object[] corrParameterAttribs = this.interfaceType.GetCustomAttributes(typeof(
CorrelationParameterAttribute
), true);
330
foreach (
CorrelationParameterAttribute
paramAttribute in correlationParamAttributes)
347
private CorrelationAliasAttribute GetMatchingCorrelationAlias(
CorrelationParameterAttribute
paramAttribute, Dictionary<String, CorrelationAliasAttribute> correlationAliases, bool defaultParameter)
441
return type.GetCustomAttributes(typeof(
CorrelationParameterAttribute
), true);