3 instantiations of ShareFile
Microsoft.Maui.Essentials (3)
Share\Share.shared.cs (3)
271
File = new
ShareFile
(file);
286
=> File = new
ShareFile
(file);
358
=> files?.Select(file => new
ShareFile
(file)) ?? Array.Empty<ShareFile>();
14 references to ShareFile
Microsoft.Maui.Essentials (14)
Share\Share.shared.cs (14)
257
public ShareFileRequest(string title,
ShareFile
file)
278
public ShareFileRequest(
ShareFile
file)
291
public
ShareFile
? File { get; set; }
310
public ShareMultipleFilesRequest(IEnumerable<
ShareFile
> files) =>
327
public ShareMultipleFilesRequest(string title, IEnumerable<
ShareFile
> files)
343
public List<
ShareFile
>? Files { get; set; } = new List<
ShareFile
>();
353
Files = new List<
ShareFile
> { request.File! },
357
static IEnumerable<
ShareFile
> ConvertList(IEnumerable<FileBase> files)
358
=> files?.Select(file => new ShareFile(file)) ?? Array.Empty<
ShareFile
>();
367
/// Initializes a new instance of the <see cref="
ShareFile
"/> class with the given file path.
376
/// Initializes a new instance of the <see cref="
ShareFile
"/> class with the given file path and content type.
386
/// Initializes a new instance of the <see cref="
ShareFile
"/> class from the given <see cref="FileBase"/> object.
388
/// <param name="file">A <see cref="FileBase"/> object that will be wrapped in a <see cref="
ShareFile
"/> object.</param>