init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
29
Kreta.Client/FileService/Extension/GetUrlRequestExtension.cs
Normal file
29
Kreta.Client/FileService/Extension/GetUrlRequestExtension.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System.Collections.Generic;
|
||||
using Kreta.Client.FileService.Constant;
|
||||
using Kreta.Client.FileService.Request;
|
||||
|
||||
namespace Kreta.Client.FileService.Extension
|
||||
{
|
||||
internal static class GetUrlRequestExtension
|
||||
{
|
||||
public static Dictionary<string, string> GetUrlRequestParameters(this GetUrlRequest getUrlRequest)
|
||||
{
|
||||
return new Dictionary<string, string>
|
||||
{
|
||||
{ DownloadRequest.Konyvtar, getUrlRequest.Konyvtar },
|
||||
{ DownloadRequest.FajlAzonosito, getUrlRequest.FajlAzonosito.ToString() },
|
||||
{ DownloadRequest.Utvonal, getUrlRequest.Utvonal },
|
||||
{ DownloadRequest.FajlNev, getUrlRequest.FajlNev }
|
||||
};
|
||||
}
|
||||
|
||||
public static Dictionary<string, string> GetUrlRequestParametersV3(this GetUrlRequest getUrlRequest)
|
||||
{
|
||||
return new Dictionary<string, string>
|
||||
{
|
||||
{ DownloadRequest.FajlId, getUrlRequest.FajlAzonosito.ToString() },
|
||||
{ DownloadRequest.UtvonalV3, getUrlRequest.Utvonal }
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue