I have such a class
public class ClipProcessingGridItem
{
public ObservableCollection<MCGeoCalibFolder> GeoCalibrationFolders { get; }
= new ObservableCollection<MCGeoCalibFolder>();
}
and now I have List<MCGeoCalibFolder>
and I would like to pass this list to ObservableCollection<MCGeoCalibFolder>
Like this
var s = new ClipProcessingGridItem
{
GeoCalibrationFolders = GetMyListOfData();
}
How can I do it?