1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 08:15:27 +00:00
Sonarr/CassiniDev/Core/RequestEventArgs.cs

53 lines
1.3 KiB
C#
Raw Normal View History

2010-10-02 19:01:43 +00:00
// **********************************************************************************
// CassiniDev - http://cassinidev.codeplex.com
//
// Copyright (c) 2010 Sky Sanders. All rights reserved.
//
// This source code is subject to terms and conditions of the Microsoft Public
// License (Ms-PL). A copy of the license can be found in the license.txt file
// included in this distribution.
//
// You must not remove this notice, or any other, from this software.
//
// **********************************************************************************
#region
using System;
using CassiniDev.ServerLog;
#endregion
namespace CassiniDev
{
public class RequestEventArgs : EventArgs
{
private readonly Guid _id;
private readonly LogInfo _requestLog;
private readonly LogInfo _responseLog;
public RequestEventArgs(Guid id, LogInfo requestLog, LogInfo responseLog)
{
_requestLog = requestLog;
_responseLog = responseLog;
_id = id;
}
public Guid Id
{
get { return _id; }
}
public LogInfo RequestLog
{
get { return _requestLog; }
}
public LogInfo ResponseLog
{
get { return _responseLog; }
}
}
}