Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Page
            .RegisterStyle("~/UserControls/Statistics/ProductQuotes/css/productquotes_style.less")
            .RegisterBodyScripts("~/UserControls/Statistics/ProductQuotes/js/product_quotes.js");

            MaxTotalSpace = TenantExtra.GetTenantQuota().MaxTotalSize;
            UsedSpace     = TenantStatisticsProvider.GetUsedSize();
        }
        protected String RenderUsedSpace()
        {
            var used = TenantStatisticsProvider.GetUsedSize();

            return(FileSizeComment.FilesSizeToString(used));
        }