/// <summary> /// Copy the properties from the given subscription /// </summary> /// <param name="subscription"></param> /// <param name="other"></param> public static void CopyFrom(this IAzureSubscription subscription, IAzureSubscription other) { if (subscription != null && other != null) { subscription.Id = other.Id; subscription.Name = other.Name; subscription.State = other.State; subscription.CopyPropertiesFrom(other); } }