常用方法
常用方法
常用方法
常用方法
public bool TryGetSharingContent(ITextEditor textEditor, out string title, out string content) { title = textEditor.EditingFileName ?? textEditor.FileNamePlaceholder; content = textEditor.GetContentForSharing(); return(!string.IsNullOrEmpty(content)); }