2 instantiations of Receive
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\Factories\ReceiveAndSendReplyFactory.cs (1)
30
Receive receive = new
Receive
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Receive.cs (1)
493
Receive receiveActivity = new
Receive
();
80 references to Receive
System.Activities.Core.Presentation (16)
System\Activities\Core\Presentation\DesignerMetadata.cs (2)
54
builder.AddCustomAttributes(typeof(
Receive
), new DesignerAttribute(typeof(ReceiveDesigner)));
55
builder.AddCustomAttributes(typeof(
Receive
), new ActivityDesignerOptionsAttribute { AllowDrillIn = false });
System\Activities\Presentation\ActivityDesignerHelper.cs (1)
120
item.IsAssignableFrom<
Receive
>() ||
System\ServiceModel\Activities\Presentation\CorrelationInitializerDesigner.xaml.cs (1)
77
if (activity.IsAssignableFrom<
Receive
>() || activity.IsAssignableFrom<Send>())
System\ServiceModel\Activities\Presentation\Factories\ReceiveAndSendReplyFactory.cs (1)
30
Receive
receive = new Receive
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (9)
47
Type receiveType = typeof(
Receive
);
94
Receive
receive = (
Receive
)ownerActivity;
100
Receive
receive = (
Receive
)ownerActivity;
130
ReceiveMessageContent messageContent = ((
Receive
)this.ModelItem.GetCurrentValue()).Content as ReceiveMessageContent;
181
Receive
receiveInstance = (
Receive
)receive.GetCurrentValue();
222
Request = (
Receive
)receive.GetCurrentValue(),
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (2)
160
Receive
receive =
Receive
.FromOperationDescription(operation);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
616
else if (error.SourceDetail != null && error.SourceDetail is
Receive
)
System.ServiceModel.Activities (63)
System\ServiceModel\Activities\ContractInferenceHelper.cs (7)
295
public static OperationDescription CreateOperationDescription(
Receive
receive, ContractDescription contract)
524
public static void CorrectOutMessageForOperation(
Receive
receive, OperationDescription operation)
536
public static void UpdateIsOneWayFlag(
Receive
receive, OperationDescription operation)
545
public static void AddFaultDescription(
Receive
activity, OperationDescription operation)
603
public static void AddKnownTypesToOperation(
Receive
receive, OperationDescription operation)
620
public static void AddReceiveToFormatterBehavior(
Receive
receive, OperationDescription operation)
635
public static void RemoveReceiveFromFormatterBehavior(
Receive
receive, OperationDescription operation)
System\ServiceModel\Activities\ContractValidationHelper.cs (2)
20
public static void ValidateReceiveWithReceive(
Receive
receive1,
Receive
receive2)
System\ServiceModel\Activities\Description\WorkflowFormatterBehavior.cs (4)
18
Collection<
Receive
> receives;
20
public Collection<
Receive
> Receives
26
this.receives = new Collection<
Receive
>();
51
foreach (
Receive
receive in this.receives)
System\ServiceModel\Activities\OperationProperty.cs (6)
13
HashSet<
Receive
> implementingReceives;
14
HashSet<
Receive
> implementingSendRepliesRequests;
23
public HashSet<
Receive
> ImplementingReceives
30
this.implementingReceives = new HashSet<
Receive
>();
37
public HashSet<
Receive
> ImplementingSendRepliesRequests
43
this.implementingSendRepliesRequests = new HashSet<
Receive
>();
System\ServiceModel\Activities\Receive.cs (4)
331
if (this.IsInvalidContentChangeFrom(((
Receive
)originalActivity).InternalContent))
336
else if (this.HasCorrelationsChanged(((
Receive
)originalActivity).CorrelationInitializers))
485
public static
Receive
FromOperationDescription(OperationDescription operation)
493
Receive
receiveActivity = new Receive();
System\ServiceModel\Activities\ReceiveMessageContent.cs (4)
157
Receive
receive = owner as
Receive
;
193
Receive
receive = owner as
Receive
;
System\ServiceModel\Activities\ReceiveParametersContent.cs (4)
140
string overridingAction = owner is
Receive
? ((
Receive
)owner).Action : ((ReceiveReply)owner).Action;
163
Fx.Assert(owner is
Receive
, "The parent of a ReceiveParametersContent with in-message can only be Receive!");
164
overridingAction = ((
Receive
)owner).Action;
System\ServiceModel\Activities\SendReply.cs (1)
88
public
Receive
Request
System\ServiceModel\Activities\TransactedReceiveScope.cs (1)
43
public
Receive
Request
System\ServiceModel\Activities\WorkflowService.cs (30)
40
IList<
Receive
> knownServiceActivities;
236
AddAdditionalConstraint(workflowServiceSettings, typeof(
Receive
), GetContractFirstValidationReceiveConstraints());
332
foreach (
Receive
recv in property.ImplementingReceives)
407
foreach (
Receive
receive in this.knownServiceActivities)
543
foreach (
Receive
receive in this.knownServiceActivities)
570
foreach (
Receive
receive in this.knownServiceActivities)
634
this.knownServiceActivities = new List<
Receive
>();
652
if (activity is
Receive
) // First, let's see if this is a Receive activity
654
Receive
receive = (
Receive
)activity;
672
Receive
pairedReceive = sendReply.Request;
722
static void CorrectOutMessageForOperationWithFault(
Receive
receive, OperationInfo operationInfo)
726
Receive
prevReceive = operationInfo.Receive;
771
bool IsFirstTransactedReceive(
Receive
request, Activity parent, Activity root)
773
Receive
receive = null;
788
DelegateInArgument<
Receive
> element = new DelegateInArgument<
Receive
> { Name = "ReceiveElement" };
791
return new Constraint<
Receive
>
793
Body = new ActivityAction<
Receive
, ValidationContext>
882
Receive
receive;
885
public ReceiveAndReplyTuple(
Receive
receive, SendReply reply)
915
Receive
receive;
918
public OperationInfo(
Receive
receive, OperationDescription operationDescription)
924
public
Receive
Receive
993
public InArgument<
Receive
> ReceiveActivity
1013
RuntimeArgument receiveActivity = new RuntimeArgument("ReceiveActivity", typeof(
Receive
), ArgumentDirection.In);
1019
this.ReceiveActivity = new InArgument<
Receive
>();
1047
Receive
receiveActivity = this.ReceiveActivity.Get(context);
1093
void ValidateTransactionBehavior(NativeActivityContext context,
Receive
receiveActivity, OperationDescription targetOperation)
1138
void ValidateContract(NativeActivityContext context,
Receive
receiveActivity, OperationDescription targetOperation)