public XapDownloadOperation(string xapUri, MefCompositionProvider compositionProvider) { _compositionProvider = compositionProvider; _tcs = new TaskCompletionSource<bool>(); _xap = new DynamicXap(new Uri(xapUri, UriKind.Relative)); _xap.Loaded += (s, args) => XapDownloadCompleted(args); }
public XapDownloadOperation(string xapUri, MefCompositionProvider compositionProvider) { _compositionProvider = compositionProvider; _tcs = new TaskCompletionSource <bool>(); _xap = new DynamicXap(new Uri(xapUri, UriKind.Relative)); _xap.Loaded += (s, args) => XapDownloadCompleted(args); }