public JsonSchemaRefAttribute(Type tagType, InfluenceRange influence = InfluenceRange.Entiry) { Type schemaBaseType; if (!RefChecker.IsRefTagDerived(tagType, out schemaBaseType)) { throw new ArgumentException("IRefTag<T> must be derived by tagType"); } TagType = tagType; Influence = influence; }
public ItemsJsonSchemaRefAttribute(Type tagType, InfluenceRange influence = InfluenceRange.Entiry) : base(tagType, influence) { }