示例#1
0
 public void SetState(MyClass2 mc)
 {
     // set MyClass2 state by setting properties of MyClass2 instance.
 }
 public void SetState(MyClass2 mc)
 {
     // set MyClass2 state by setting properties of MyClass2 instance.
 }
示例#3
0
 public MyClassMemento(MyClass2 mc)
 {
     // get MyClass2 state by querying properties of MyClass instance.
 }
 public MyClassMemento(MyClass2 mc)
 {
     // get MyClass2 state by querying properties of MyClass instance.
 }