/// <summary> /// Initializes a new instance of the AutoUpdateManifest class. /// </summary> public AutoUpdateManifest() { _id = Guid.NewGuid().ToString(); _product = new AutoUpdateProductDescriptor(); _moreInfo = new AutoUpdateHref(); _changeSummaries = new AutoUpdateChangeSummaryList(); }
/// <summary> /// Initializes a new instance of the AutoUpdateManifest class. /// </summary> /// <param name="id">A unique identifier to assign to the manifest.</param> /// <param name="product">A descriptor that describes the product the update is for.</param> /// <param name="moreInfo">A link for displaying more information about the update.</param> /// <param name="changeSummaries">A collection of change summaries that can be found in the update.</param> /// <param name="urlOfUpdate">The url of the update.</param> /// <param name="sizeOfUpdate">The size of the update.</param> public AutoUpdateManifest(string id, AutoUpdateProductDescriptor product, AutoUpdateHref moreInfo, AutoUpdateChangeSummaryList changeSummaries, string urlOfUpdate, long sizeOfUpdate) { _id = id; _product = product; _moreInfo = moreInfo; _changeSummaries = changeSummaries; _urlOfUpdate = urlOfUpdate; _sizeOfUpdate = sizeOfUpdate; }