﻿using System.Reflection;

namespace Len.Framework.Speed.DataAnnotations
{
    public static partial class TypeInfoExtensions
    {
        public static bool IsDomainRepository(this TypeInfo @this) =>
            @this.IsAttributeDefined<DomainRepositoryAttribute>();
    }
}
