3 references to Uri
Microsoft.Maui.Essentials (3)
Share\Share.shared.cs (3)
106
/// <exception cref="ArgumentException">Thrown when <see cref="ShareTextRequest.Text"/> and <see cref="ShareTextRequest.
Uri
"/> are both <see langword="null"/> or empty.</exception>
112
if (string.IsNullOrEmpty(request.Text) && string.IsNullOrEmpty(request.
Uri
))
113
throw new ArgumentException($"Both the {nameof(request.Text)} and {nameof(request.
Uri
)} are invalid. Make sure to include at least one of them in the request.");