Exemplo n.º 1
0
        public static void Zoo(
            int num1,
            [MoreThan(10)] int thenum2,
            [LessOrEqualTo(100)]
            [DefaultValue(55), Description("a number")] int anum3,
            BindingFlags bf,

            [Required]
            bool rsw,

            [DefaultProvider(typeof(MyDefaultProvider1))] bool sw1,
            [DefaultProvider(typeof(MyDefaultProvider2))] bool hsw2,
            ClapApp clap)
        {
        }
Exemplo n.º 2
0
        public static void Zoo(
            int num1,
            [MoreThan(10)] int thenum2,
            [LessOrEqualTo(100)]
            [DefaultValue(55), Description("a number")] int anum3,
            BindingFlags bf,

            [Required]
            bool rsw,

            [DefaultProvider(typeof(MyDefaultProvider1))] bool sw1,
            [DefaultProvider(typeof(MyDefaultProvider2))] bool hsw2,
            ClapApp clap)
        {
        }