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