Beispiel #1
0
 public void Add(WindowComponentBase component, HistoryTrackerEventType eventType)
 {
     if (WindowSystemLogger.IsActiveComponents() == true)
     {
         var stack = new StackTrace();
         this.items.Add(new Item(stack.GetFrames(), eventType));
     }
 }
Beispiel #2
0
 public void Add(WindowObject component, AppearanceParameters parameters, HistoryTrackerEventType eventType)
 {
     if (WindowSystemLogger.IsActiveComponents() == true)
     {
         var stack = new StackTrace();
         this.items.Add(new Item(stack.GetFrames(), parameters, eventType));
     }
 }
		public void Add(WindowComponentBase component, AppearanceParameters parameters, HistoryTrackerEventType eventType) {
			
			if (WindowSystemLogger.IsActiveComponents() == true) {

				var stack = new StackTrace();
				this.items.Add(new Item(stack.GetFrames(), parameters, eventType));

			}

		}
Beispiel #4
0
 public Item(StackFrame[] stack, AppearanceParameters parameters, HistoryTrackerEventType eventType) : this(stack, eventType)
 {
     this.parameters = parameters;
 }
Beispiel #5
0
 public Item(StackFrame[] stack, HistoryTrackerEventType eventType)
 {
     this.stack     = string.Join("\n", stack.Select(x => x.ToString()).ToArray());
     this.eventType = eventType;
 }
			public Item(StackFrame[] stack, AppearanceParameters parameters, HistoryTrackerEventType eventType) : this(stack, eventType) {
				
				this.parameters = parameters;
				
			}
			public Item(StackFrame[] stack, HistoryTrackerEventType eventType) {
				
				this.stack = string.Join("\n", stack.Select(x => x.ToString()).ToArray());
				this.eventType = eventType;
				
			}