Exemplo n.º 1
0
        public override Dictionary <string, SanitizedValue <object> > Sanitize()
        {
            var sanitizer = new Sanitizer();

            Quantity = sanitizer.Maximum(nameof(Quantity), Quantity, 0);
            Slot     = sanitizer.Maximum(nameof(Slot), Slot, 0);

            return(sanitizer.Sanitized);
        }