mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Update docstring
This commit is contained in:
parent
d59bdff57a
commit
488c8e81b8
1 changed files with 4 additions and 5 deletions
|
|
@ -1104,12 +1104,11 @@ namespace Flow.Launcher.ViewModel
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is the global copy method for an individual result. If no text is passed,
|
||||
/// the method will work out what is to be copied based on the result, so plugin can offer the text
|
||||
/// to be copied via the result model. If the text is a directory/file path,
|
||||
/// then actual file/folder will be copied instead.
|
||||
/// The result's subtitle text is the default text to be copied
|
||||
/// Copies the specified file or folder path to the clipboard, or the specified text if it is not a valid file or folder path.
|
||||
/// Shows a message indicating whether the operation was completed successfully.
|
||||
/// </summary>
|
||||
/// <param name="stringToCopy">The file or folder path, or text to copy to the clipboard.</param>
|
||||
/// <returns>Nothing.</returns>
|
||||
public void ResultCopy(string stringToCopy)
|
||||
{
|
||||
if (string.IsNullOrEmpty(stringToCopy))
|
||||
|
|
|
|||
Loading…
Reference in a new issue