public static void Initialize <T>(this ICloneCollection <T> source, IEnumerable <T> collection) { source.Clear(); source.AddRange(collection); }
public static void InitializeClone <T>(this ICloneCollection <T> source, IEnumerable <T> collection) where T : ICloneable { source.Clear(); source.AddCloneRange(collection); }
public void Clear() { _ingridients.Clear(); }