示例#1
0
 public Custom(type1 t1, type2 t2, type3 t3, type4 t4)
 {
     this.T1 = t1;
     this.T2 = t2;
     this.T3 = t3;
     this.T4 = t4;
 }
 public void DoSomethingElse(type3 secondContextData)
 {
     //TODO: Implement (uses secondContextData)
 }
 internal ConcretePrototype(ConcretePrototype instance)
 {
     FirstProperty = instance.FirstProperty;
     secondProperty = instance.secondProperty;
     thirdProperty = instance.thirdProperty;
 }
 public ComplexCommand(Receiver receiver, type2 firstContextData, type3 secondContextData)
 {
     this.receiver          = receiver;
     this.firstContextData  = firstContextData;
     this.secondContextData = secondContextData;
 }
 public ConcretePrototype(type1 firstProperty, type2 secondProperty, type3 thirdProperty)
 {
     this.FirstProperty = firstProperty;
     this.secondProperty = secondProperty;
     this.thirdProperty = thirdProperty;
 }