public static Task <IResourceInfo> GetHttpAsync(this IResourceProvider resourceProvider, string path, ImmutableSession metadata = default) { var uri = new UriString(path); return(resourceProvider.GetAsync ( uri.IsAbsolute ? uri : new UriString(HttpProvider.DefaultScheme, (string)uri.Path.Original), metadata )); }
public SmtpProvider(ImmutableSession metadata = default) : base(metadata) { }
public PhysicalDirectoryProvider(ImmutableSession metadata = default) : base(new SoftString[] { "directory" }, metadata) { }
protected MailProvider(ImmutableSession metadata) : base(new SoftString[] { DefaultScheme }, metadata) { }