コード例 #1
0
 public static SampleAggregateRoot Create(string sampleProperty1, SampleValueObject sampleProperty2)
 {
     return(new SampleAggregateRoot(sampleProperty1, sampleProperty2));
 }
コード例 #2
0
 private SampleAggregateRoot(string sampleProperty1, SampleValueObject sampleProperty2)
 {
     this.SampleProperty1 = sampleProperty1;
     this.SampleProperty2 = sampleProperty2;
 }