/// <summary> /// Loads the specified <see cref="Uri"/> into the view. /// </summary> /// <param name="uri"></param> public void Open(Uri uri) { Contract.Requires <ArgumentNullException>(uri != null); message = server.Load(uri); }
public Task <ViewMessage> Get(string name) { return(Task.FromResult(server.Load(new Uri(Request.RequestUri, "/Examples/" + name + ".xml")))); }