FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (22)
45private readonly Dictionary<Type, ContractDescription> _contracts;
51_contracts = new Dictionary<Type, ContractDescription>();
56private ContractDescription LoadContractDescriptionHelper(Type contractType, Type serviceType, object serviceImplementation)
58ContractDescription contractDescription;
87foreach (ContractDescription inheritedContract in contractDescription.GetInheritedContracts())
156public ContractDescription LoadContractDescription(Type contractType)
163public ContractDescription LoadContractDescription(Type contractType, Type serviceType)
171public ContractDescription LoadContractDescription(Type contractType, Type serviceType, object serviceImplementation)
180private ContractDescription LoadOutputChannelContractDescription()
184ContractDescription contract = new ContractDescription(contractName.Name, contractName.Namespace);
195private ContractDescription LoadRequestChannelContractDescription()
199ContractDescription contract = new ContractDescription(contractName.Name, contractName.Namespace);
212private void AddBehaviors(ContractDescription contractDesc, Type implType, bool implIsCallback, ContractReflectionInfo reflectionInfo)
315private static void UpdateContractDescriptionWithAttributesFromServiceType(ContractDescription description, Type serviceType)
328private void UpdateOperationsWithInterfaceAttributes(ContractDescription contractDesc, ContractReflectionInfo reflectionInfo)
671private void CreateOperationDescriptions(ContractDescription contractDescription,
674ContractDescription declaringContract,
738private ContractDescription CreateContractDescription(ServiceContractAttribute contractAttr, Type contractType, Type serviceType, out ContractReflectionInfo reflectionInfo, object serviceImplementation)
743ContractDescription contractDescription = new ContractDescription(contractName.Name, contractName.Namespace);
771ContractDescription inheritedContractDescription = LoadContractDescriptionHelper(inheritedContractType, serviceType, serviceImplementation);
847private OperationDescription CreateOperationDescription(ContractDescription contractDescription, MethodInfo methodInfo, MessageDirection direction,
848ContractReflectionInfo reflectionInfo, ContractDescription declaringContract)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (13)
28private Dictionary<ContractDescription, WsdlContractConversionContext> _exportedContracts
29= new Dictionary<ContractDescription, WsdlContractConversionContext>();
33public override void ExportContract(ContractDescription contract)
254private WsdlNS.PortType CreateWsdlPortType(ContractDescription contract)
269private WsdlNS.Operation CreateWsdlOperation(OperationDescription operation, ContractDescription contract)
375private WsdlNS.OperationBinding CreateWsdlOperationBinding(ContractDescription contract, OperationDescription operation)
1036internal static XmlQualifiedName GetPortTypeQName(ContractDescription contract)
1086internal static string GetWsdlOperationName(OperationDescription operationDescription, ContractDescription parentContractDescription)
1102internal static void AddUsingSessionAttributeIfNeeded(WsdlNS.PortType wsdlPortType, ContractDescription contract)
1124OperationDescription operation, ContractDescription contract)
1200private Exception ThrowExtensionException(ContractDescription contract, IWsdlExportExtension exporter, Exception e)
1228public readonly ContractDescription Contract;
1231public BindingDictionaryKey(ContractDescription contract, Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (19)
103public override Collection<ContractDescription> ImportAllContracts()
109Collection<ContractDescription> contracts = new Collection<ContractDescription>();
116ContractDescription contract = ImportWsdlPortType(wsdlPortType, WsdlPortTypeImportOptions.ReuseExistingContracts, ErrorBehavior.DoNotThrowExceptions);
164public ContractDescription ImportContract(WsdlNS.PortType wsdlPortType)
220internal ServiceEndpointCollection ImportEndpoints(ContractDescription contract)
298private ContractDescription ImportWsdlPortType(WsdlNS.PortType wsdlPortType, WsdlPortTypeImportOptions importOptions, ErrorBehavior errorBehavior)
305ContractDescription contractDescription = null;
377ContractDescription contractDescription = GetOrImportContractDescription(wsdlBinding.Type, out wasExistingContract);
533private ContractDescription CreateContractDescription(WsdlNS.PortType wsdlPortType, XmlQualifiedName wsdlPortTypeQName)
535ContractDescription contractDescription;
542private OperationDescription CreateOperationDescription(WsdlNS.PortType wsdlPortType, WsdlNS.Operation wsdlOperation, ContractDescription contract)
573private ContractDescription GetOrImportContractDescription(XmlQualifiedName wsdlPortTypeQName, out bool wasExistingContractDescription)
575ContractDescription contractDescription;
642private bool TryFindExistingContract(XmlQualifiedName wsdlPortTypeQName, out ContractDescription existingContract)
981private static OperationDescription FindOperationDescription(ContractDescription contract, WsdlNS.OperationBinding wsdlOperationBinding)
992private static bool CompareOperations(OperationDescription operationDescription, ContractDescription parentContractDescription, WsdlNS.OperationBinding wsdlOperationBinding)
1273internal static void SetSession(ContractDescription contractDescription, WsdlNS.PortType wsdlPortType)
1511private IEnumerable<WsdlNS.Binding> FindBindingsForContract(ContractDescription contract)