Esempio n. 1
0
 public static SampleAggregateRoot Create(string sampleProperty1, SampleValueObject sampleProperty2)
 {
     return(new SampleAggregateRoot(sampleProperty1, sampleProperty2));
 }
Esempio n. 2
0
 private SampleAggregateRoot(string sampleProperty1, SampleValueObject sampleProperty2)
 {
     this.SampleProperty1 = sampleProperty1;
     this.SampleProperty2 = sampleProperty2;
 }