public static ContractDescription GetContract( Type contractType) { if (contractType == null) { throw new ArgumentNullException("contractType"); } return(ContractDescriptionGenerator.GetContract(contractType)); }
public static ContractDescription GetContract( Type contractType, object serviceImplementation) { if (contractType == null) { throw new ArgumentNullException("contractType"); } if (serviceImplementation == null) { throw new ArgumentNullException("serviceImplementation"); } return(ContractDescriptionGenerator.GetContract(contractType, serviceImplementation)); }
public static ContractDescription GetContract( Type contractType, Type serviceType) { return(ContractDescriptionGenerator.GetContract(contractType, serviceType)); }
public static ContractDescription GetContract( Type contractType, object serviceImplementation) { return(ContractDescriptionGenerator.GetContract(contractType, serviceImplementation)); }