mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-09 10:17:49 +00:00
27 lines
695 B
C#
27 lines
695 B
C#
using System.Runtime.Versioning;
|
|
|
|
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
/// SharingItem for MenuItem role 'shareMenu' (macOS).
|
|
/// </summary>
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
[SupportedOSPlatform("macos")]
|
|
public class SharingItem
|
|
{
|
|
/// <summary>
|
|
/// An array of text to share.
|
|
/// </summary>
|
|
public string[] Texts { get; set; }
|
|
|
|
/// <summary>
|
|
/// An array of files to share.
|
|
/// </summary>
|
|
public string[] FilePaths { get; set; }
|
|
|
|
/// <summary>
|
|
/// An array of URLs to share.
|
|
/// </summary>
|
|
public string[] Urls { get; set; }
|
|
}
|
|
} |