public void AssignProductOwner(ProductOwner productOwner) { AssertArgumentEquals(this.TenantId, productOwner.TenantId, "Product owner must be of the same tenant."); this.ProductOwner = productOwner; }
/// <summary> /// ProductOwnerを指定して生成する場合 /// </summary> /// <param name="tenantId"></param> /// <param name="teamName"></param> /// <param name="productOwner"></param> public Team(TenantId tenantId, string teamName, ProductOwner productOwner) : this(tenantId, teamName) { ProductOwner = productOwner; }