예제 #1
0
 public UrlPeekResultPresentation(UrlPeekResult f1Result)
 {
     if (f1Result == null)
     {
         throw new ArgumentNullException("f1Result");
     }
     _helpUri = new Uri(f1Result.Url);
 }
예제 #2
0
        public IPeekResultPresentation TryCreatePeekResultPresentation(IPeekResult result)
        {
            UrlPeekResult f1Result = result as UrlPeekResult;

            if (f1Result != null)
            {
                return(new UrlPeekResultPresentation(f1Result));
            }

            return(null);
        }