/// <summary>
 /// 初始化值对象测试样例
 /// </summary>
 public ValueObjectSample(string city, string street, AggregateRootSample sample, ValueObjectSample child)
 {
     City          = city;
     Street        = street;
     AggregateRoot = sample;
     Child         = child;
 }
 /// <summary>
 /// 初始化值对象测试样例
 /// </summary>
 public ValueObjectSample(string city, string street, AggregateRootSample sample)
     : this(city, street, sample, null)
 {
 }
 /// <summary>
 /// 初始化名称长度验证规则
 /// </summary>
 /// <param name="sample">聚合根测试样例</param>
 public ValidationRuleSample(AggregateRootSample sample)
 {
     _sample = sample;
 }