AcManager.Tools.ContentInstallation.FileInfoEnumerableExtension.GetByPathOrDefault C# (CSharp) Method

GetByPathOrDefault() static private method

static private GetByPathOrDefault ( this source, string path ) : BaseContentInstallator.IFileInfo
source this
path string
return BaseContentInstallator.IFileInfo
        internal static BaseContentInstallator.IFileInfo GetByPathOrDefault(this IEnumerable<BaseContentInstallator.IFileInfo> source, string path) {
            return source.FirstOrDefault(x => string.Equals(x.Filename, path, StringComparison.OrdinalIgnoreCase));
        }
    }
FileInfoEnumerableExtension