/// <summary> /// Addtional operations to be performed when cloning an instance of <see cref="SubscribedSku"/> to an instance of <see cref="PSSubscribedSku" />. /// </summary> /// <param name="sku">The sku being cloned.</param> private void CloneAdditionalOperations(SubscribedSku sku) { ServicePlans.AddRange(sku.ServicePlans); LicenseGroupId = sku.ProductSku.LicenseGroupId; ProductName = sku.ProductSku.Name; SkuId = sku.ProductSku.Id; SkuPartNumber = sku.ProductSku.SkuPartNumber; TargetType = sku.ProductSku.TargetType; }
/// <summary> /// Addtional operations to be performed when cloning an instance of <see cref="SubscribedSku"/> to an instance of <see cref="PSSubscribedSku" />. /// </summary> /// <param name="sku">The sku being cloned.</param> private void CloneAdditionalOperations(SubscribedSku sku) { ServicePlans.AddRange(sku.ServicePlans); }