Refactor AppFW
[platform/core/csapi/tizenfx.git] / Tizen.Applications / Tizen.Applications.Manager / RunningApplication.cs
1 /// Copyright 2016 by Samsung Electronics, Inc.,
2 ///
3 /// This software is the confidential and proprietary information
4 /// of Samsung Electronics, Inc. ("Confidential Information"). You
5 /// shall not disclose such Confidential Information and shall use
6 /// it only in accordance with the terms of the license agreement
7 /// you entered into with Samsung.
8
9 namespace Tizen.Applications.Manager
10 {
11     /// <summary>
12     /// RunningApplication class. This class has the properties of RunningApplication.
13     /// </summary>
14     public class RunningApplication
15     {
16         private readonly string _applicationId;
17         private readonly int _processId;
18
19         internal RunningApplication(string applicationId, int processId)
20         {
21             _applicationId = applicationId;
22             _processId = processId;
23         }
24
25         /// <summary>
26         /// ApplicationId property.
27         /// </summary>
28         /// <returns>string application id.</returns>
29         public string ApplicationId
30         {
31             get
32             {
33                 return _applicationId;
34             }
35         }
36
37         /// <summary>
38         /// ProcessId property.
39         /// </summary>
40         /// <returns>string process id.</returns>
41         public int ProcessId
42         {
43             get
44             {
45                 return _processId;
46             }
47         }
48     }
49 }