示例#1
0
        /// <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;
        }
示例#2
0
 /// <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);
 }