init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
38
Kreta.Client/FileService/Request/GetUrlRequest.cs
Normal file
38
Kreta.Client/FileService/Request/GetUrlRequest.cs
Normal file
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using Kreta.Client.FileService.Constant;
|
||||
|
||||
namespace Kreta.Client.FileService.Request
|
||||
{
|
||||
public class GetUrlRequest
|
||||
{
|
||||
public GetUrlRequest(string utvonal, Guid fajlAzonosito, string fajlNev)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(utvonal))
|
||||
{
|
||||
throw new ArgumentNullException(nameof(utvonal));
|
||||
}
|
||||
|
||||
if (fajlAzonosito == Guid.Empty)
|
||||
{
|
||||
throw new ArgumentException(nameof(fajlAzonosito));
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(fajlNev))
|
||||
{
|
||||
throw new ArgumentNullException(nameof(fajlNev));
|
||||
}
|
||||
|
||||
Utvonal = utvonal;
|
||||
FajlAzonosito = fajlAzonosito;
|
||||
FajlNev = fajlNev;
|
||||
}
|
||||
|
||||
public string Konyvtar => Folder.HaziFeladatok;
|
||||
|
||||
public string Utvonal { get; set; }
|
||||
|
||||
public Guid FajlAzonosito { get; }
|
||||
|
||||
public string FajlNev { get; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue