Simplify constructor of SampleInfoList.

This commit is contained in:
Huo Yaoyuan 2017-05-08 19:30:55 +08:00
parent dff05bec79
commit 345f80b775
1 changed files with 1 additions and 2 deletions

View File

@ -11,9 +11,8 @@ public SampleInfoList()
{
}
public SampleInfoList(IEnumerable<SampleInfo> elements)
public SampleInfoList(IEnumerable<SampleInfo> elements) : base(elements)
{
AddRange(elements);
}
}
}