Ejemplo n.º 1
0
        public static void LoadType([NotNull] Type type, [NotNull] RuleActionAttribute ruleActionAttribute)
        {
            Assert.ArgumentNotNull(type, nameof(type));
            Assert.ArgumentNotNull(ruleActionAttribute, nameof(ruleActionAttribute));

            actions.Add(new RuleActionInfo(type, ruleActionAttribute));
        }
Ejemplo n.º 2
0
            public RuleActionInfo([NotNull] Type type, [NotNull] RuleActionAttribute attribute)
            {
                Assert.ArgumentNotNull(type, nameof(type));
                Assert.ArgumentNotNull(attribute, nameof(attribute));

                var list = new List <string>();

                Type      = type;
                Attribute = attribute;
            }