/// <summary> /// Returns the service metadata for a service. /// </summary> /// <param name="org">The Organization code for the service owner.</param> /// <param name="service">The service code for the current service.</param> /// <returns>The service metadata for a service.</returns> public ServiceMetadata GetServiceMetaData(string org, string service) { string filename = _settings.BaseResourceFolderContainer + _settings.GetMetadataFolder() + _settings.ServiceMetadataFileName; string filedata = File.ReadAllText(filename, Encoding.UTF8); return(JsonConvert.DeserializeObject <ServiceMetadata>(filedata)); }