Ejemplo n.º 1
0
		/*
		 * Add a DebugEvent to this request result.
		 * Events are fired after the result is returned to the caller of the request.
		 */
		public void Add(DebugEvent ev) {
			if (ev != null) {
				if (Events == null) {
					Events = new List<DebugEvent>();
				}
				Events.Add(ev);
			}
		}
Ejemplo n.º 2
0
 /*
  * Add a DebugEvent to this request result.
  * Events are fired after the result is returned to the caller of the request.
  */
 public void Add(DebugEvent ev)
 {
     if (ev != null)
     {
         if (Events == null)
         {
             Events = new List <DebugEvent>();
         }
         Events.Add(ev);
     }
 }
Ejemplo n.º 3
0
		/*
		 * A success result with as additional event.
		 */
		public DebugResult(DebugEvent ev) {
			Success = true;
			Add(ev);
		}
Ejemplo n.º 4
0
 /*
  * A success result with as additional event.
  */
 public DebugResult(DebugEvent ev)
 {
     Success = true;
     Add(ev);
 }