BililiveRecorder/BililiveRecorder.Core/Event/RecordFileOpeningEventArgs.cs

24 lines
639 B
C#
Raw Normal View History

2021-02-23 18:03:37 +08:00
using System;
using BililiveRecorder.Core.SimpleWebhook;
2021-02-23 18:03:37 +08:00
using Newtonsoft.Json;
namespace BililiveRecorder.Core.Event
{
/// <summary>
/// <see cref="EventType.FileOpening"/>
/// </summary>
public sealed class RecordFileOpeningEventArgs : RecordEventArgsBase, IRecordSessionEventArgs
2021-02-23 18:03:37 +08:00
{
internal RecordFileOpeningEventArgs(IRoom room) : base(room) { }
2021-02-23 18:03:37 +08:00
public Guid SessionId { get; set; }
2021-02-23 18:03:37 +08:00
[JsonIgnore]
public string FullPath { get; set; } = string.Empty;
public string RelativePath { get; set; } = string.Empty;
public DateTimeOffset FileOpenTime { get; set; }
}
}