/// <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; }
public BuildProduct(BuildProduct Other) { Path = Other.Path; Type = Other.Type; IsPrecompiled = Other.IsPrecompiled; }
/// <summary> /// Copy constructor. /// </summary> /// <param name="Other">Build product to copy settings from</param> public BuildProduct(BuildProduct Other) { Path = Other.Path; Type = Other.Type; }