/*! \name Constructors Currently there is no way to create an entirely new product. Only product instances that reflect an already existing product on the server can be created. You can obtain a Product object from Server.GetProduct or Server.GetProducts. */ //@{ /// <summary>Initialize a new instance of the <see cref="Product"/> class with /// the specified Bugzilla server and <see cref="ProxyStructs.ProductInfo"/> /// struct.</summary> /// <param name="server">A Server instance that is associated with this product.</param> /// <param name="pi">Information about the product, as retrieved from the /// server</param> internal Product( Server server, ProductInfo pi ) { this.server = server; this.pi = pi; }
// Must always be valid /*! \name Constructors */ //@{ // This assumes the bug already exists on the server side. /// <summary> /// Initialize a new instance of the <see cref="Bug"/> class. /// </summary> /// <param name="server">A <see cref="Server"/> instance that is associated with this bug</param> /// <param name="bi">Information about the bug, as retreived from the server</param> internal Bug(Server server, BugInfo bi) { this.server = server; this.bi = bi; }