1.0-dev15 (Core code cleaning)
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
using System;
|
||||
using VDownload.Core.Enums;
|
||||
using VDownload.Core.Interfaces;
|
||||
using VDownload.Core.Objects;
|
||||
using Windows.Storage;
|
||||
|
||||
namespace VDownload.Core.EventArgs
|
||||
{
|
||||
public class PlaylistAddEventArgs : System.EventArgs
|
||||
{
|
||||
public (
|
||||
IVideoService VideoService,
|
||||
MediaType MediaType,
|
||||
IBaseStream Stream,
|
||||
TimeSpan TrimStart,
|
||||
TimeSpan TrimEnd,
|
||||
string Filename,
|
||||
MediaFileExtension Extension,
|
||||
StorageFolder Location,
|
||||
double Schedule
|
||||
)[] Videos { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
public class PlaylistSearchEventArgs : System.EventArgs
|
||||
{
|
||||
public string Phrase { get; set; }
|
||||
public int Count { get; set; }
|
||||
public string Url { get; set; }
|
||||
public int VideosCount { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
24
VDownload.Core/EventArgs/ProgressChangedEventArgs.cs
Normal file
24
VDownload.Core/EventArgs/ProgressChangedEventArgs.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace VDownload.Core.EventArgs
|
||||
{
|
||||
public class ProgressChangedEventArgs : System.EventArgs
|
||||
{
|
||||
#region CONSTRUCTORS
|
||||
|
||||
public ProgressChangedEventArgs(double progress, bool isCompleted = false)
|
||||
{
|
||||
Progress = progress;
|
||||
IsCompleted = isCompleted;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region PROPERTIES
|
||||
|
||||
public double Progress { get; set; }
|
||||
public bool IsCompleted { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
11
VDownload.Core/EventArgs/TasksAddingRequestedEventArgs.cs
Normal file
11
VDownload.Core/EventArgs/TasksAddingRequestedEventArgs.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using VDownload.Core.Enums;
|
||||
using VDownload.Core.Structs;
|
||||
|
||||
namespace VDownload.Core.EventArgs
|
||||
{
|
||||
public class TasksAddingRequestedEventArgs : System.EventArgs
|
||||
{
|
||||
public TaskData[] TaskData { get; set; }
|
||||
public TaskAddingRequestSource RequestSource { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
using System;
|
||||
using VDownload.Core.Enums;
|
||||
using VDownload.Core.Interfaces;
|
||||
using VDownload.Core.Objects;
|
||||
using Windows.Storage;
|
||||
|
||||
namespace VDownload.Core.EventArgs
|
||||
{
|
||||
public class VideoAddEventArgs : System.EventArgs
|
||||
{
|
||||
public IVideoService VideoService { get; set; }
|
||||
public MediaType MediaType { get; set; }
|
||||
public IBaseStream Stream { get; set; }
|
||||
public TimeSpan TrimStart { get; set; }
|
||||
public TimeSpan TrimEnd { get; set; }
|
||||
public string Filename { get; set; }
|
||||
public MediaFileExtension Extension { get; set; }
|
||||
public StorageFolder Location { get; set; }
|
||||
public double Schedule { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,6 @@
|
||||
{
|
||||
public class VideoSearchEventArgs : System.EventArgs
|
||||
{
|
||||
public string Phrase { get; set; }
|
||||
public string Url { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user