/// <summary>
        /// Gets an <see cref="AssemblyResourceFileSource"/> from the specified <see cref="Assembly"/> only
        /// including resources with the specified resource qualifier.
        /// </summary>
        /// <param name="assembly">The assembly.</param>
        /// <param name="resourceQualifier">The resource qualifier.</param>
        /// <returns>AssemblyResourceFileSource.</returns>
        public static AssemblyResourceFileSource WithResourceQualifier(Assembly assembly, string resourceQualifier)
        {
            AssemblyResourceReader assemblyResourceReader = new AssemblyResourceReader(assembly);

            IEnumerable <string> files = assemblyResourceReader.GetResources()
                                         .Where(n => n.StartsWith(resourceQualifier));

            return(new AssemblyResourceFileSource(assemblyResourceReader, files));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="AssemblyResourceFileSource"/> class.
 /// </summary>
 /// <param name="assemblyResourceReader">The assembly resource reader.</param>
 public AssemblyResourceFileSource(AssemblyResourceReader assemblyResourceReader)
     : this(assemblyResourceReader, assemblyResourceReader.GetResources())
 {
 }