Пример #1
0
 /// <summary>
 /// Adds a build product to the receipt. Does not check whether it already exists.
 /// </summary>
 /// <param name="Path">Path to the build product.</param>
 /// <param name="Type">Type of build product.</param>
 /// <returns>The BuildProduct object that was created</returns>
 public BuildProduct AddBuildProduct(string Path, BuildProductType Type)
 {
     BuildProduct NewBuildProduct = new BuildProduct(Path, Type);
     BuildProducts.Add(NewBuildProduct);
     return NewBuildProduct;
 }
Пример #2
0
 public BuildProduct(BuildProduct Other)
 {
     Path = Other.Path;
     Type = Other.Type;
     IsPrecompiled = Other.IsPrecompiled;
 }
Пример #3
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="Other">Build product to copy settings from</param>
 public BuildProduct(BuildProduct Other)
 {
     Path = Other.Path;
     Type = Other.Type;
 }