コード例 #1
0
 private static IEnumerable<IVersion> GetVersions(MemberInfo memberInfo) => memberInfo.GetCustomAttributes()
     .Where(a => ReflectionUtils.ImplementsOrImplementsEquivalent(a.GetType(), typeof(VersionAttribute)))
     .Select(a => new VersionAttributeWrapper(a));