<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.0" />

System.ServiceModel.Description.ContractDescription

public class ContractDescription

public Type CallbackContractType { get; set; }

public string ConfigurationName { get; set; }

public Type ContractType { get; set; }

public bool HasProtectionLevel { get; }

public string Name { get; set; }

public string Namespace { get; set; }

public ProtectionLevel ProtectionLevel { get; set; }

public SessionMode SessionMode { get; set; }

public ContractDescription(string name)

public ContractDescription(string name, string ns)

public static ContractDescription GetContract(Type contractType)

public static ContractDescription GetContract(Type contractType, Type serviceType)

public static ContractDescription GetContract(Type contractType, object serviceImplementation)