-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSalaamClientEventArgs.cs
32 lines (28 loc) · 1.03 KB
/
SalaamClientEventArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
namespace Dolphins.Salaam
{
/// <summary>
/// Provides data for the <see cref="SalaamBrowser"/> events.
/// </summary>
public class SalaamClientEventArgs:EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="SalaamClientEventArgs"/> class.
/// </summary>
/// <param name="client">The client.</param>
/// <param name="isFromLocalMachine">if set to <c>true</c> this instance is from the local machine.</param>
public SalaamClientEventArgs(SalaamClient client, bool isFromLocalMachine)
{
Client = client;
IsFromLocalMachine = isFromLocalMachine;
}
/// <summary>
/// Gets the client.
/// </summary>
public SalaamClient Client { get; private set; }
/// <summary>
/// Gets a value indicating whether this instance is from local machine.
/// </summary>
public bool IsFromLocalMachine { get; private set; }
}
}