示例#1
0
        public static MaintenanceModeContext MaintenanceMode(this ICakeContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            var apprenda = context.Apprenda();

            return(apprenda.MaintenanceMode);
        }
示例#2
0
        public static CloudShellContext CloudShell(this ICakeContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            var apprenda = context.Apprenda();

            return(apprenda.CloudShell);
        }