9using System.Collections.Generic;
17 public void Reg(Core.BusinessBase obj)
19 obj.PropertyChanged +=
new System.ComponentModel.PropertyChangedEventHandler
20 (PrivateOnIsDirtyChanged);
21 obj.PropertyChanged +=
new System.ComponentModel.PropertyChangedEventHandler(
OnIsDirtyChanged);
24 private void PrivateOnIsDirtyChanged(
object sender,
25 System.ComponentModel.PropertyChangedEventArgs e)
27 TestResults.
Add(
"Test.PrivateOnIsDirtyChanged",
"Test.PrivateOnIsDirtyChanged");
28 Console.WriteLine(
"PrivateOnIsDirtyChanged event handler output assigned with reg method");
32 System.ComponentModel.PropertyChangedEventArgs e)
void OnIsDirtyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
void Reg(Core.BusinessBase obj)
Static dictionary-like class that offers similar functionality to GlobalContext This is used in tests...
static void Add(string key, string value)
Add an item to the test results, to indicate an outcome of a particular operation
@ Serializable
Prevents updating or inserting until the transaction is complete.