public VersionInfo GetVersion() { OutgoingWebResponseContext context = WebOperationContext.Current.OutgoingResponse; context.ContentType = "application/xml"; return(_adapterProvider.GetVersion()); }
public void GetVersion(string format) { format = MapContentType(null, null, format); VersionInfo version = _adapterProvider.GetVersion(); _adapterProvider.FormatOutgoingMessage <VersionInfo>(version, format, true); }