Esempio n. 1
0
        public BlockSettings(string BlockType)
        {
            switch (BlockType)
            {
            case "1":
                this.validator = new SendSMSValidator();
                break;

            case "2":
                this.validator = new SubscriptionValidator();
                break;
            }
        }