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