private void Init(string message, IEnumerable<PhysicalLocation> locations)
{
Message = message;
if (locations != null)
{
var destination_0 = new List<PhysicalLocation>();
foreach (var value_0 in locations)
{
if (value_0 == null)
{
destination_0.Add(null);
}
else
{
destination_0.Add(new PhysicalLocation(value_0));
}
}
Locations = destination_0;
}
}
}