// Copyright (c) Valdis Iljuconoks. All rights reserved.
// Licensed under Apache-2.0. See the LICENSE file in the project root for more information

using System;
using System.Collections.Generic;

namespace DbLocalizationProvider.Sync
{
    public interface IResourceTypeScanner
    {
        bool ShouldScan(Type target);

        string GetResourceKeyPrefix(Type target, string keyPrefix = null);

        ICollection<DiscoveredResource> GetClassLevelResources(Type target, string resourceKeyPrefix);

        ICollection<DiscoveredResource> GetResources(Type target, string resourceKeyPrefix);
    }
}
