25 references to ServiceOperationHelpers
System.WorkflowServices (25)
System\Workflow\Activities\ContractMethodInfo.cs (2)
177
return
ServiceOperationHelpers
.GetCustomAttributes(attributeType, this.attributes);
207
return
ServiceOperationHelpers
.IsDefined(attributeType, attributes);
System\Workflow\Activities\ContractType.cs (2)
233
return
ServiceOperationHelpers
.GetCustomAttributes(attributeType, this.attributes);
420
return
ServiceOperationHelpers
.IsDefined(attributeType, attributes);
System\Workflow\Activities\Design\OperationPickerDialog.cs (3)
210
if (!
ServiceOperationHelpers
.IsValidServiceOperation(methodInfo))
216
operationItem.Name =
ServiceOperationHelpers
.GetOperationName(this.serviceProvider, methodInfo);
218
operationItem.Operation.Name =
ServiceOperationHelpers
.GetOperationName(this.serviceProvider, methodInfo);
System\Workflow\Activities\Design\ServiceContractDetailViewControl.cs (1)
79
PropertyDescriptorUtils.SetPropertyValue(this.ServiceProvider,
ServiceOperationHelpers
.GetServiceOperationInfoPropertyDescriptor(activity), activity, workflowOperationListItem.Operation.Clone());
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
687
PropertyDescriptorUtils.SetPropertyValue(this.ServiceProvider,
ServiceOperationHelpers
.GetServiceOperationInfoPropertyDescriptor(activity), activity, null);
692
PropertyDescriptorUtils.SetPropertyValue(this.ServiceProvider,
ServiceOperationHelpers
.GetServiceOperationInfoPropertyDescriptor(activity), activity, operation.Clone());
System\Workflow\Activities\ReceiveActivity.cs (5)
669
List<Type> interfaces =
ServiceOperationHelpers
.GetContracts(contractType);
678
ServiceOperationHelpers
.SetWorkflowOperationBehavior(contractDescription, context);
694
ServiceOperationHelpers
.SetWorkflowOperationBehavior(inheritedContractDescription, context);
1399
!((methodInfo.ReturnType.IsPrimitive || methodInfo.ReturnType.IsEnum || methodInfo.ReturnType.IsValueType) && !
ServiceOperationHelpers
.IsNullableType(methodInfo.ReturnType));
1411
!
ServiceOperationHelpers
.IsNullableType(parameter.ParameterType))
System\Workflow\Activities\ReceiveActivityDesigner.cs (1)
177
PropertyDescriptorUtils.SetPropertyValue(this.Activity.Site,
ServiceOperationHelpers
.GetServiceOperationInfoPropertyDescriptor(this.Activity), this.Activity, pickedServiceOperation);
System\Workflow\Activities\SendActivityDesigner.cs (1)
128
PropertyDescriptorUtils.SetPropertyValue(this.Activity.Site,
ServiceOperationHelpers
.GetServiceOperationInfoPropertyDescriptor(this.Activity), this.Activity, pickedServiceOperation);
System\Workflow\Activities\TypedOperationInfo.cs (2)
195
if (type != null &&
ServiceOperationHelpers
.IsValidServiceContract(type))
289
if (contractType != null &&
ServiceOperationHelpers
.IsValidServiceContract(contractType))
System\Workflow\Activities\ValidationHelper.cs (6)
268
if (!
ServiceOperationHelpers
.IsValidServiceOperation(methodInfo))
273
string operationName =
ServiceOperationHelpers
.GetOperationName(manager, methodInfo);
751
else if (!
ServiceOperationHelpers
.IsValidServiceContract(contractType))
770
else if (
ServiceOperationHelpers
.IsAsyncOperation(manager, methodInfo))
1046
contractSessionMode =
ServiceOperationHelpers
.GetContractSessionMode(manager, attribInfoAttrib.AttributeInfo);
1056
if (receiveActivity.CanCreateInstance == true && !
ServiceOperationHelpers
.IsInitiatingOperation(manager, methodInfo))