154 references to Operations
System.Activities.Core.Presentation (2)
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (2)
103if (contract.Operations != null) 105foreach (OperationDescription operation in contract.Operations)
System.ServiceModel (109)
System\ServiceModel\Administration\ContractInstanceProvider.cs (2)
60IWmiInstance[] operations = new IWmiInstance[contractDescription.Operations.Count]; 63OperationDescription operationDescription = contractDescription.Operations[j];
System\ServiceModel\ChannelFactory.cs (1)
238OperationDescriptionCollection operations = this.Endpoint.Contract.Operations;
System\ServiceModel\Channels\ChannelRequirements.cs (2)
32for (int i = 0; i < contractDescription.Operations.Count; i++) 34OperationDescription operation = contractDescription.Operations[i];
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
2339foreach (OperationDescription operation in policyContext.Contract.Operations) 2407foreach (OperationDescription operation in policyContext.Contract.Operations)
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (3)
49foreach (OperationDescription operation in policyContext.Contract.Operations) 250foreach (OperationDescription operation in policyContext.Contract.Operations) 411foreach (OperationDescription operation in policyContext.Contract.Operations)
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (2)
131foreach (OperationDescription operation in contract.Operations) 420foreach (OperationDescription operation in context.Contract.Operations)
System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (1)
51foreach (OperationDescription operation in context.Contract.Operations)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (3)
113contract.Operations.Add(operation); 122if (contract.Operations.Count == 0) 183if (contract.Operations.FindAll(operationName.EncodedName).Count != 0)
System\ServiceModel\ComIntegration\DispatchProxy.cs (1)
105foreach (OperationDescription opDesc in contract.Operations)
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
173foreach (OperationDescription opDesc in contractDescription.Operations)
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
167foreach (OperationDescription opDesc in contractDescription.Operations)
System\ServiceModel\Description\ContractDescription.cs (5)
191for (int i = 0; i < Operations.Count; i++) 193OperationDescription od = Operations[i]; 218if (this.Operations.Count == 0) 224for (int i = 0; i < this.Operations.Count; i++) 226OperationDescription operationDescription = this.Operations[i];
System\ServiceModel\Description\DispatcherBuilder.cs (11)
58foreach (OperationDescription operationDesc in endpoint.Contract.Operations) 96for (int i = 0; i < contractDescription.Operations.Count; i++) 98OperationDescription operation = contractDescription.Operations[i]; 230foreach (OperationDescription op in endpoint.Contract.Operations) 650foreach (OperationDescription operation in endpoint.Contract.Operations) 755for (int j = 0; j < endpoint.Contract.Operations.Count; j++) 757OperationDescription operation = endpoint.Contract.Operations[j]; 949for (int i = 0; i < contractDescription.Operations.Count; i++) 951OperationDescription operation = contractDescription.Operations[i]; 1081for (int i = 0; i < contract.Operations.Count; i++) 1083OperationDescription operation = contract.Operations[i];
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
49foreach (OperationDescription operationDescription in endpoint.Contract.Operations)
System\ServiceModel\Description\MessageContractImporter.cs (4)
183if (contractContext.Contract.Operations.Count <= 0) 189OperationInfo[] infos = new OperationInfo[contractContext.Contract.Operations.Count]; 191foreach (OperationDescription operation in contractContext.Contract.Operations) 206foreach (OperationDescription operation in contractContext.Contract.Operations)
System\ServiceModel\Description\MetadataImporter.cs (1)
111foreach (OperationDescription operation in policyContext.Contract.Operations)
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
281foreach (OperationDescription operation in contract.Operations) 480foreach (OperationDescription operation in contract.Operations)
System\ServiceModel\Description\ServiceEndpoint.cs (2)
259for (int j = 0; j < contract.Operations.Count; j++) 261OperationDescription op = contract.Operations[j];
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
439foreach (OperationDescription operation in mexContract.Operations)
System\ServiceModel\Description\TypeLoader.cs (21)
191contract.Operations.Add(operation); 208contract.Operations.Add(operation); 215for (int i = 0; i < contractDesc.Operations.Count; i++) 217OperationDescription operationDescription = contractDesc.Operations[i]; 226for (int i = 0; i < contractDesc.Operations.Count; i++) 228OperationDescription opDesc = contractDesc.Operations[i]; 273for (int i = 0; i < contractDesc.Operations.Count; i++) 275OperationDescription opDesc = contractDesc.Operations[i]; 289for (int i = 0; i < contractDesc.Operations.Count; i++) 291OperationDescription operationDescription = contractDesc.Operations[i]; 353foreach (OperationDescription operationDescription in contractDesc.Operations) 366foreach (OperationDescription operationDescription in contractDesc.Operations) 553for (int i = 0; i < serviceEndpoint.Contract.Operations.Count; i++) 555OperationDescription opDesc = serviceEndpoint.Contract.Operations[i]; 644contractDescription.Operations.Add(operation); 723foreach (OperationDescription op in inheritedContractDescription.Operations) 725if (!contractDescription.Operations.Contains(op)) // in a diamond hierarchy, ensure we don't add same op twice from two different parents 728Collection<OperationDescription> existingOps = contractDescription.Operations.FindAll(op.Name); 738contractDescription.Operations.Add(op); 822Collection<OperationDescription> operations = contractDescription.Operations.FindAll(operationName.EncodedName); 848contractDescription.Operations.Remove(existingOp);
System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
59foreach (OperationDescription operation in contract.Operations)
System\ServiceModel\Description\WsdlEndpointConversionContext.cs (1)
80foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Description\WsdlExporter.cs (3)
51foreach (OperationDescription operation in contract.Operations) 180foreach (OperationDescription operation in endpoint.Contract.Operations) 744foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Description\WsdlImporter.cs (6)
546contract.Operations.Add(operationDescription); 986foreach (OperationDescription operationDescription in contract.Operations) 1643foreach (OperationDescription operation in policyContext.Contract.Operations) 1675foreach (OperationDescription operation in policyContext.Contract.Operations) 2218policyAlternatives.OperationBindingAlternatives = new Dictionary<OperationDescription, IEnumerable<IEnumerable<XmlElement>>>(endpointContext.Endpoint.Contract.Operations.Count); 2222foreach (OperationDescription operation in endpointContext.Endpoint.Contract.Operations)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
96foreach (OperationDescription operation in contract.Operations)
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (3)
36this.operationPerfCounters = new Dictionary<string, OperationPerformanceCountersBase>(contractDescription.Operations.Count); 37this.actionToOperation = new SortedList<string, string>(contractDescription.Operations.Count); 39foreach (OperationDescription opDescription in contractDescription.Operations)
System\ServiceModel\Dispatcher\DataContractSerializerServiceBehavior.cs (1)
80foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (2)
43for (int i = 0; i < description.Operations.Count; i++) 45OperationDescription operation = description.Operations[i];
System\ServiceModel\Dispatcher\PeerValidationBehavior.cs (1)
33foreach (OperationDescription operation in contract.Operations)
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (7)
290for (int j = 0; j < endpoint.Contract.Operations.Count; j++) 292OperationDescription operation = endpoint.Contract.Operations[j]; 435foreach (OperationDescription operation in contract.Operations) 911for (int i = 0; i < contract.Operations.Count; i++) 913OperationDescription operation = contract.Operations[i]; 1054for (int i = 0; i < endpoint.Contract.Operations.Count; ++i) 1056OperationDescription operation = endpoint.Contract.Operations[i];
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (9)
33for (int i = 0; i < endpoint.Contract.Operations.Count; i++) 35OperationDescription operationDescription = endpoint.Contract.Operations[i]; 140for (int j = 0; j < contract.Operations.Count; j++) 142OperationDescription operation = contract.Operations[j]; 188foreach (OperationDescription operation in endpoint.Contract.Operations) 258for (int i = 0; i < endpoint.Contract.Operations.Count; i++) 260OperationDescription operation = endpoint.Contract.Operations[i]; 297for (int j = 0; j < endpoint.Contract.Operations.Count; j++) 299OperationDescription operation = endpoint.Contract.Operations[j];
System\ServiceModel\MsmqIntegration\MsmqIntegrationValidationBehavior.cs (1)
94foreach (OperationDescription operation in contract.Operations)
System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
226foreach (OperationDescription operation in contract.Operations)
System\ServiceModel\Security\WSSecurityPolicy.cs (3)
1358foreach (OperationDescription operation in policyContext.Contract.Operations) 2999for (int j = 0; j < contract.Operations.Count; ++j) 3001OperationDescription operation = contract.Operations[j];
System\ServiceModel\Security\WSTrustDec2005.cs (1)
116SetProtectionLevelForFederation(result.Endpoint.Contract.Operations);
System\ServiceModel\Security\WSTrustFeb2005.cs (1)
253SetProtectionLevelForFederation(result.Endpoint.Contract.Operations);
System.ServiceModel.Activities (22)
System\ServiceModel\Activities\ContractInferenceHelper.cs (7)
99contract.Operations.Add(operation); 125contract.Operations.Add(operation); 153contract.Operations.Add(operation); 170Fx.Assert(serviceEndpoint.Contract.Operations.Count == 1, "Client side contract should have exactly one operation!"); 172serviceEndpoint.Contract.Operations[0].Behaviors.Add(new TransactionFlowAttribute(TransactionFlowOption.Allowed)); 228contract.Operations.Add(operation); 286contract.Operations.Add(operation);
System\ServiceModel\Activities\Description\BufferedReceiveServiceBehavior.cs (2)
74foreach (OperationDescription operation in serviceEndpoint.Contract.Operations) 100foreach (OperationDescription operation in serviceEndpoint.Contract.Operations)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (1)
214foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Activities\Description\WorkflowContractBehaviorAttribute.cs (1)
32foreach (OperationDescription operation in contractDescription.Operations)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
189foreach (OperationDescription operation in WorkflowControlEndpoint.WorkflowControlServiceContract.Operations)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
3196EqualsUnordered<OperationDescription>(c1.Operations, c2.Operations, (o1, o2) => IsOperationDescriptionEquivalent(o1, o2)));
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (2)
49foreach (OperationDescription operation in WorkflowControlServiceContract.Operations) 134foreach (OperationDescription operationDescription in contractDescription.Operations)
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (2)
42foreach (OperationDescription operationDescription in this.Contract.Operations) 105foreach (OperationDescription operation in contractDescription.Operations)
System\ServiceModel\Activities\WorkflowService.cs (3)
364foreach (OperationDescription operation in contract.Operations) 439contract.Operations.Add(operation); 522foreach (OperationDescription operation in contract.Operations)
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
696foreach (OperationDescription operation in serviceEndpoint.Contract.Operations)
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryUtility.cs (1)
55foreach (OperationDescription operationDescription in discoveryContract.Operations)
System.ServiceModel.Routing (3)
System\ServiceModel\Routing\RoutingBehavior.cs (3)
89foreach (OperationDescription operation in description.Operations) 192foreach (OperationDescription operation in endpoint.Contract.Operations) 207foreach (OperationDescription operation in endpoint.Contract.Operations)
System.ServiceModel.Web (11)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
105foreach (OperationDescription operation in contract.Operations)
System\ServiceModel\Description\WebHttpBehavior.cs (4)
121foreach (OperationDescription od in endpoint.Contract.Operations) 186foreach (OperationDescription od in endpoint.Contract.Operations) 239foreach (OperationDescription od in endpoint.Contract.Operations) 1221foreach (OperationDescription od in endpoint.Contract.Operations)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (2)
155foreach (OperationDescription operation in endpoint.Contract.Operations) 300OperationDescription metadataOperation = metadataContract.Operations[0];
System\ServiceModel\Dispatcher\HelpPage.cs (1)
43foreach (OperationDescription od in description.Operations)
System\ServiceModel\Dispatcher\WebErrorHandler.cs (1)
64OperationDescription description = this.contractDescription.Operations.Find(operationName);
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
65foreach (OperationDescription od in endpoint.Contract.Operations)
System\ServiceModel\Web\WebServiceHost.cs (1)
186foreach (OperationDescription operation in contract.Operations)
System.WorkflowServices (6)
System\ServiceModel\Activities\Description\WorkflowRuntimeServicesBehavior.cs (1)
75foreach (OperationDescription operation in endpoint.Contract.Operations)
System\ServiceModel\Activities\ExternalDataExchangeClient.cs (1)
19foreach (OperationDescription opDesc in contractDescription.Operations)
System\ServiceModel\Description\DurableServiceAttribute.cs (2)
198foreach (OperationDescription opDescription in endpoint.Contract.Operations) 269foreach (OperationDescription operation in serviceEndpoint.Contract.Operations)
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
394foreach (OperationDescription operation in contract.Operations)
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
284foreach (OperationDescription opDescription in contractDescription.Operations)