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