Exemplo n.º 1
0
        /// <summary>
        /// Gets the network limits.
        /// </summary>
        /// <returns>The network limits</returns>
        public Task <NetworkLimits> GetNetworkLimits(CancellationToken cancellationToken)
        {
            if (!HasNetworkLimits)
            {
                return(null);
            }

            return(DataCenterService.GetNetworkLimitsByLink(string.Format("{0}{1}", Configuration.BaseUri, networkLimitsLink.Value.Href), cancellationToken));
        }