Exemple #1
0
        public static ILayoutConfigurator <T> Required <T>(this ILayoutConfigurator <T> configurator)
        {
            configurator.Required = true;

            return(configurator);
        }
Exemple #2
0
        public static ILayoutConfigurator <T> IsOptional <T>(this ILayoutConfigurator <T> configurator)
        {
            configurator.Required = false;

            return(configurator);
        }