Example #1
0
 /// <summary>
 /// Adds <see cref="IFileService"/> using Azure Blob Storage as the backing store.
 /// </summary>
 /// <param name="options">Options used to configure the Campaigns API feature.</param>
 /// <param name="configure">Configure the available options. Null to use defaults.</param>
 public static void UseFilesAzure(this CampaignsApiOptions options, Action <FileServiceAzureStorage.FileServiceOptions> configure = null) =>
 options.Services.AddFiles(options => options.AddAzureStorage(CampaignsApi.FileServiceKey, configure));