8 writes to ContractType
System.ServiceModel (4)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
79
contract.
ContractType
= type;
System\ServiceModel\Description\TypeLoader.cs (3)
185
contract.
ContractType
= channelType;
200
contract.
ContractType
= channelType;
695
contractDescription.
ContractType
= contractType;
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\ContractInferenceHelper.cs (3)
112
ContractType
= channelType,
138
ContractType
= channelType,
197
ContractType
= channelType,
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
79
tempControlServiceContract.
ContractType
= typeof(IWorkflowInstanceManagement);
54 references to ContractType
System.ServiceModel (36)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
50
contract.SetProperty(AdministrationStrings.Type, contractDescription.
ContractType
.Name);
System\ServiceModel\ChannelFactory.cs (2)
841
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SfxCallbackTypeCannotBeNull, endpoint.Contract.
ContractType
.FullName)));
850
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SfxCallbackTypeCannotBeNull, endpoint.Contract.
ContractType
.FullName)));
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (2)
41
contractQName, contract.
ContractType
.ToString());
334
Type contractType = contract.
ContractType
;
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (1)
32
iid = contract.
ContractType
.GUID;
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
124
SR.TraceCodeComIntegrationChannelCreated, serviceEndpoint.Address.Uri, contractDescription.
ContractType
);
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
119
SR.TraceCodeComIntegrationChannelCreated, serviceEndpoint.Address.Uri, contractDescription.
ContractType
);
System\ServiceModel\DeliveryRequirementsAttribute.cs (1)
87
string name = endpoint.Contract.
ContractType
.Name;
System\ServiceModel\Description\DispatcherBuilder.cs (2)
88
clientRuntime.ContractClientType = contractDescription.
ContractType
;
946
dispatch.CallbackClientRuntime.ContractClientType = contractDescription.
ContractType
;
System\ServiceModel\Description\MessageContractExporter.cs (1)
1249
reflector = new XmlSerializerOperationBehavior.Reflector(contractContext.Contract.Namespace, contractContext.Contract.
ContractType
);
System\ServiceModel\Description\ServiceEndpointCollection.cs (3)
28
if (endpoint != null && endpoint.Contract.
ContractType
== contractType)
68
if (endpoint != null && endpoint.Contract.
ContractType
== contractType &&
133
if (endpoint != null && endpoint.Contract.
ContractType
== contractType)
System\ServiceModel\Description\TaskOperationDescriptionValidator.cs (2)
38
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotHaveTwoOperationsWithTheSameName3, method1Name, method2Name, operation.DeclaringContract.
ContractType
)));
48
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotHaveTwoOperationsWithTheSameName3, method1Name, method2Name, operation.DeclaringContract.
ContractType
)));
System\ServiceModel\Description\TypeLoader.cs (7)
230
Type targetIface = implIsCallback ? opDesc.DeclaringContract.CallbackContractType : opDesc.DeclaringContract.
ContractType
;
295
GetFormattingAttribute(operationDescription.DeclaringContract.
ContractType
,
339
|| (iContractBehaviorAttribute.TargetContract == description.
ContractType
))
621
if (!(declaringContract.
ContractType
.IsAssignableFrom(contractDescription.
ContractType
)))
625
String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.
ContractType
.Name, contractDescription.
ContractType
.Name)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
35
Reflector parentReflector = new Reflector(operation.DeclaringContract.Namespace, operation.DeclaringContract.
ContractType
);
94
Reflector reflector = new Reflector(contract.Namespace, contract.
ContractType
);
242
Type contractType = operation.DeclaringContract != null ? operation.DeclaringContract.
ContractType
: null;
System\ServiceModel\ServiceConfiguration.cs (4)
181
if (!endpoint.IsSystemEndpoint || (endpoint.Contract.
ContractType
== typeof(IMetadataExchange)))
222
: this.host.ImplementedContracts.Values.FirstOrDefault(implementedContract => implementedContract.
ContractType
== contractType);
297
|| !contract.
ContractType
.IsAssignableFrom(otherContract.
ContractType
)));
System\ServiceModel\ServiceHost.cs (5)
413
if (!endpoint.IsSystemEndpoint || endpoint.Contract.
ContractType
== typeof(IMetadataExchange))
1792
Type contractType = contract.
ContractType
;
1798
Type otherContractType = otherContract.
ContractType
;
2007
if (!reflectedContracts.Contains(inheritedContract.
ContractType
))
2064
return item.
ContractType
;
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
167
if (serviceEndpoint.Contract.
ContractType
== null)
System\ServiceModel\Activities\InternalSendMessage.cs (4)
3181
if (c1.
ContractType
== null || c2.
ContractType
== null)
3194
c1.
ContractType
== c2.
ContractType
&&
System\ServiceModel\Activities\WorkflowServiceHost.cs (2)
652
if (contractDescriptionDictionary.TryGetValue(serviceEndpoint.Contract.
ContractType
, out contract))
658
contractDescriptionDictionary[serviceEndpoint.Contract.
ContractType
] = serviceEndpoint.Contract;
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\RoutingChannelExtension.cs (1)
182
Type contractType = endpointBehavior.Endpoint.Contract.
ContractType
;
System.ServiceModel.Web (4)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
102
serviceData.Initialize(new WebServiceTypeData(XmlConvert.DecodeName(contract.Name), XmlConvert.DecodeName(contract.Namespace), contract.
ContractType
),
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
48
proxy = WCFServiceClientProxyGenerator.GetClientProxyScript(this.endpoint.Contract.
ContractType
, baseUri.AbsoluteUri, this.debugMode, endpoint);
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (1)
108
this.singleImplementedContract = contract.
ContractType
;
System\ServiceModel\Web\WebServiceHost.cs (1)
114
contractType = contract.
ContractType
;
System.WorkflowServices (6)
System\Workflow\Activities\ReceiveActivity.cs (3)
681
context.ReflectedContracts.Add(contractDescription.
ContractType
);
692
if (!context.ReflectedContracts.Contains(inheritedContractDescription.
ContractType
))
697
context.ReflectedContracts.Add(inheritedContractDescription.
ContractType
);
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
288
new KeyValuePair<Type, string>(opDescription.DeclaringContract.
ContractType
, opDescription.Name);
System\Workflow\Runtime\Hosting\ChannelManager.cs (2)
51
if (endpoint.Contract.
ContractType
!= null)
53
cacheAddress = ChannelManagerHelpers.BuildCacheAddress(endpoint.Name, endpoint.Contract.
ContractType
);