~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/EventSet.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
 
 
3
namespace Mono.Debugger.Soft
 
4
{
 
5
        public class EventSet {
 
6
                protected VirtualMachine vm;
 
7
                SuspendPolicy suspend_policy;
 
8
                Event[] events;
 
9
 
 
10
                internal EventSet (VirtualMachine vm, SuspendPolicy suspend_policy, Event[] events) {
 
11
                        this.vm = vm;
 
12
                        this.suspend_policy = suspend_policy;
 
13
                        this.events = events;
 
14
                }
 
15
 
 
16
                public SuspendPolicy SuspendPolicy {
 
17
                        get {
 
18
                                return suspend_policy;
 
19
                        }
 
20
                }
 
21
 
 
22
                public Event[] Events {
 
23
                        get {
 
24
                                return events;
 
25
                        }
 
26
                }
 
27
 
 
28
                public Event this [int index] {
 
29
                        get {
 
30
                                return Events [index];
 
31
                        }
 
32
                }
 
33
        }
 
34
}