public ServiceContractInterfaceInfo(Type contractType, ServiceContractAttribute contractAttribute) { this.ContractType = contractType; this.ContractAttribute = contractAttribute; }
private void BuildService(Type type, ServiceContractAttribute sc) { ServiceDescription sd = new ServiceDescription(); sd.IType = type; if (!string.IsNullOrEmpty(sc.Name)) { sd.Name = sc.Name; } Services.Add(sd); }