Example #1
0
 /// <summary>
 /// Gets list of files, prepared to share.
 /// </summary>
 /// <param name="action">Target share action.</param>
 /// <returns> Collection of <see cref="ShareFile"/> objects</returns>
 public IEnumerable<ShareFile> GetShareFiles( ShareAction action )
 {
     return action.GetShareFiles();
 }
Example #2
0
 /// <summary>
 /// Creates the link for  download shared files.
 /// </summary>
 /// <param name="action">Target share action</param>
 /// <returns>Link to downloading shared files</returns>
 public string CreateShareLink( ShareAction action )
 {
     return action.CreateDownloadLink();
 }