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)); }
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; }