예제 #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);
        }