示例#1
0
 public bool TryGetSharingContent(ITextEditor textEditor, out string title, out string content)
 {
     title   = textEditor.EditingFileName ?? textEditor.FileNamePlaceholder;
     content = textEditor.GetContentForSharing();
     return(!string.IsNullOrEmpty(content));
 }