コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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));
 }