BlazorMarkdownEditor/PSC.Blazor.Components.MarkdownEditor/EventsArgs/FileStartedEventArgs.cs
2022-01-11 22:02:56 +00:00

22 lines
No EOL
657 B
C#

namespace PSC.Blazor.Components.MarkdownEditor.EventsArgs
{
/// <summary>
/// Provides the information about the file started to be uploaded.
/// </summary>
public class FileStartedEventArgs : EventArgs
{
/// <summary>
/// A default <see cref="FileStartedEventArgs"/> constructor.
/// </summary>
/// <param name="file">File that is started with upload.</param>
public FileStartedEventArgs(FileEntry file)
{
File = file;
}
/// <summary>
/// Gets the file currently being uploaded.
/// </summary>
public FileEntry File { get; }
}
}