public TeamPasteInfo(string url) { URL = url; var isUri = Uri.IsWellFormedUriString(url, UriKind.RelativeOrAbsolute); if (!isUri) { return; } Source = GetSource(url); if (Source == PasteSource.None) { return; } url = GetRawURL(url); Sets = NetUtil.GetPageText(url).Trim(); LoadMetadata(); Valid = true; }
public CustomPasteSelectionCoreCommand(IRichEditControl control, PasteSource pasteSource) : base(control, pasteSource) { _clipboardTask = new ClipboardTask(); _mapper = new DataTableToDocumentTableMapper(); }
public CustomPasteSelectionCoreCommand(IRichEditControl control, PasteSource pasteSource) : base(control, pasteSource) { }