/// <summary> /// Initializes a new instance of the <see cref="BiscuitMakerObject"/> class. /// </summary> /// <param name="components"> /// The components. /// </param> /// <param name="settings"> /// The settings. /// </param> private BiscuitMakerObject(List <IBiscuitComponent> components, BiscuitMakerSettings settings) { this.Components = components; this.Settings = settings; }
/// <summary> /// The create. /// </summary> /// <param name="components"> /// The components. /// </param> /// <param name="settings"> /// The settings. /// </param> /// <returns> /// The <see cref="BiscuitMakerObject"/>. /// </returns> public static BiscuitMakerObject Create(List <IBiscuitComponent> components, BiscuitMakerSettings settings) { return(new BiscuitMakerObject(components, settings)); }