public UrlPeekResultPresentation(UrlPeekResult f1Result) { if (f1Result == null) { throw new ArgumentNullException("f1Result"); } _helpUri = new Uri(f1Result.Url); }
public IPeekResultPresentation TryCreatePeekResultPresentation(IPeekResult result) { UrlPeekResult f1Result = result as UrlPeekResult; if (f1Result != null) { return(new UrlPeekResultPresentation(f1Result)); } return(null); }